RAL Classic color

RAL 1014 Ivory #E1CC4F

RAL 1014 Ivory is shown here as #E1CC4F, a widely published sRGB approximation of the printed swatch. It is a pale soft amber in the yellow family. In OKLCH it sits at lightness 0.840, chroma 0.144 and hue 99.7°. The nearest CSS named color is gold (#FFD700), ΔE2000 7.5 away.

Relative luminance
0.5976
OKLCH L · C · h
0.840 · 0.144 · 99.7
Best text
Black 12.95:1
Hue family
Yellow

#E1CC4F color codes

HEX
#E1CC4F
RGB
rgb(225, 204, 79)
HSL
hsl(51, 71%, 60%)
OKLCH
oklch(0.840 0.144 99.7)
OKLab
oklab(0.840 -0.024 0.142)
CIELAB (D65)
L* 81.71, a* -6.89, b* 62.74
XYZ (D65)
X 54.06, Y 59.76, Z 16.08
CMYK (naive)
cmyk(0%, 9%, 65%, 12%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #E1CC4F accessible?

Black text on it reaches 12.95:1, passing AAA. White text fails at 1.62:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    12.95:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +76
  • White text on it

    1.62:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −31
  • As text on black

    12.95:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −75
  • As text on white

    1.62:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +27

Nearest versions that pass 4.5:1

  • For text on white

    #877600 4.54:1

    Darkening its OKLCH lightness from 0.84 to 0.56 reaches 4.54:1 on white, keeping the hue.

  • For text on black

    #E1CC4F 12.95:1

    It already reaches 12.95:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #E1CC4F live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #E1CC4F

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #E1CC4F sits at step 300.

  1. 50#FFF7C5
    White
    1.08
    Black
    19.36
  2. 100#FEED8D
    White
    1.18
    Black
    17.71
  3. 200#EBD971
    White
    1.42
    Black
    14.69
  4. 300This color#E1CC4F
    White
    1.62
    Black
    12.95
  5. 400#B7A21A
    White
    2.56
    Black
    8.19
  6. 500#998700
    White
    3.60
    Black
    5.82
  7. 600#7F6F00
    White
    5.02
    Black
    4.17
  8. 700#655800
    White
    7.12
    Black
    2.94
  9. 800#4A4000
    White
    10.37
    Black
    2.02
  10. 900#302900
    White
    14.55
    Black
    1.44
  11. 950#1B1600
    White
    18.08
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #E1CC4F can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.175; #E1CC4F uses 83% of it. Display P3, which many recent phones and laptops show, reaches 0.202 there: 16% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.144
sRGB edge
0.175
Display P3 edge
0.202
Rec. 2020 edge
0.207
Dominant wavelength
574 nm
Excitation purity
66%
Chromaticity
x 0.4161, y 0.4600
  • This color#E1CC4F
  • Most vivid in sRGB#E6CB00
  • Most vivid in Display P3oklch(0.840 0.202 99.7)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #e1cc4f;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9 0.7991 0); }
}

Mixing

Mixing #E1CC4F

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#F0E6A7
  • OKLab50%#F0E6AF
  • OKLCH50%#F0E6AF

Black #000000

  • sRGB50%#716628
  • OKLab50%#564E19
  • OKLCH50%#564E19

Its complement #BFC5FF

  • sRGB50%#D0C9A7
  • OKLab50%#CFCBB4
  • OKLCH50%#FFB2BD
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #e1cc4f, white);
color: color-mix(in oklch, #e1cc4f 50%, white);

In use

#E1CC4F in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:112.95:1 Passes
  • Link and body-size textText, 4.5:11.62:1 Fails
  • Large headingLarge text, 3:11.62:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.62:1 Fails

For text on this page, the nearest shade that passes is #877600 4.54:1

Dark page

  • Button labelText, 4.5:112.95:1 Passes
  • Link and body-size textText, 4.5:111.55:1 Passes
  • Large headingLarge text, 3:111.55:1 Passes
  • Icons, borders and focus ringsNon-text, 3:111.55:1 Passes

Color vision

How #E1CC4F looks with color blindness

Tritanopia changes it most, ΔE2000 29.8; deuteranopia changes it least, 0.9.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #DFC73F ΔE2000 1.8

    Very close

    Reads as pale soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #E4CF56 ΔE2000 0.9

    Imperceptible

    Reads as pale soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #F2BEB2 ΔE2000 29.8

    Distinct

    Reads as pale muted red

  • Achromatopsia

    No cone color vision; lightness only

    #CBCBCB ΔE2000 26.1

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #BFC5FF. Their lightness contrast is only 1.02:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#E1CC4F · #BFC5FF50.7Stays distinct
Protanopia#DFC73F · #B5CBFF48.5Stays distinct
Deuteranopia#E4CF56 · #B2C7FE48.5Stays distinct
Tritanopia#F2BEB2 · #B0CFD933.4Stays distinct
Achromatopsia#CBCBCB · #C9C9C90.5Easily confused

Harmony

Color harmonies for #E1CC4F

Its complement is #BFC5FF, a pale muted blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#E1CC4F
  • Complement#BFC5FF

Complementary

Open in Harmony Studio
  • −30°#FFBB6A
  • Base#E1CC4F
  • +30°#ACDD74
  • Base#E1CC4F
  • +120°#64DCFF
  • +240°#FFABE4
  • Base#E1CC4F
  • +150°#A1CFFF
  • +210°#E0B7FF

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-1014: #e1cc4f;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-1014': '#e1cc4f',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-1014: oklch(0.840 0.144 99.7);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-1014": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.8824, 0.8, 0.3098],
        "hex": "#e1cc4f"
      },
      "$description": "RAL 1014 Ivory (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral1014 = Color(.sRGB, red: 0.882, green: 0.800, blue: 0.310, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral1014 = Color(0xFFE1CC4F)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #E1CC4F in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.