#ECC243#ECC243
#ECC243 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.9% C 0.147 H 90.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #ECC243 |
|---|---|
| RGB | rgb(236, 194, 67) |
| HSL | hsl(45, 82%, 59%) |
| HSV | hsv(45, 72%, 93%) |
| CMYK | cmyk(0%, 17.8%, 71.6%, 7.5%) |
| CIE-LAB | lab(80.08, 2.26, 66.21) |
| CIE-LCH | lch(80.08, 66.25, 88.04°) |
| OKLab | oklab(82.92% -0.0001 0.147) |
| OKLCH | oklch(82.92% 0.147 90) |
| XYZ | xyz(54.9001, 56.8251, 13.3858) |
| Luminance | 0.5682 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 3.54
Mustard
#DBB42C
ΔE00 3.88
Golden
#F5BF03
ΔE00 4.01
Goldenrod (survey)
#FAC205
ΔE00 4.40
Golden Yellow
#FEC615
ΔE00 4.53
Gold (survey)
#DBB40C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECC243 #436DEC
analogous
#EC6E43 #ECC243 #C1EC43
triadic
#ECC243 #43ECC2 #C243EC
tetradic
#ECC243 #43EC6E #436DEC #EC43C1
square
#ECC243 #43EC6E #436DEC #EC43C1
split-complementary
#ECC243 #43C1EC #6E43EC
monochromatic
#A47F11 #DCAB16 #ECC243 #F2D47B #F7E6B2
Accessibility & contrast
On white
1.70
#ECC243 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.36
#ECC243 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECC243
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECC243 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECC243 | 1.00 | 1.70 | 12.36 | 12.36 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C030
Deuteranopia (green-blind)
#E2CB4A
Tritanopia (blue-blind)
#FFB2A8
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #ecc243; /* rgb */ color: rgb(236, 194, 67); /* oklch */ color: oklch(82.9% 0.147 90.0);
Tailwind
colors: {
custom: {
50: '#f6d47f',
500: '#ecc243',
950: '#000000',
},
}SCSS
$custom: #ecc243; $custom-light: #f6d47f; $custom-dark: #000000;
JSON
{
"hex": "#ecc243",
"rgb": {
"r": 236,
"g": 194,
"b": 67
},
"hsl": {
"h": 45.089,
"s": 81.643,
"l": 59.412
},
"oklch": {
"l": 0.82919,
"c": 0.14696,
"h": 90
},
"luminance": 0.56822
}Semantic roles & 50–950 ramp
primary
#ECC243
secondary
#2D4BA6
accent
#62F830
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D