#CEDD38#CEDD38
#CEDD38 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 85.8% C 0.178 H 114.8°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CEDD38 |
|---|---|
| RGB | rgb(206, 221, 56) |
| HSL | hsl(65, 71%, 54%) |
| HSV | hsv(65, 75%, 87%) |
| CMYK | cmyk(6.8%, 0%, 74.7%, 13.3%) |
| CIE-LAB | lab(84.55, -24.38, 73.46) |
| CIE-LCH | lch(84.55, 77.40, 108.36°) |
| OKLab | oklab(85.84% -0.0746 0.1614) |
| OKLCH | oklch(85.84% 0.178 114.8) |
| XYZ | xyz(52.0254, 65.1212, 13.5696) |
| Luminance | 0.6512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 1.99
Green Yellow
#B5CE08
ΔE00 4.52
Yellowish Green
#B0DD16
ΔE00 5.40
Piss Yellow
#DDD618
ΔE00 5.44
Baby Puke Green
#B6C406
ΔE00 6.15
Off Yellow
#F1F33F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEDD38 #4738DD
analogous
#DD9A38 #CEDD38 #7BDD38
triadic
#CEDD38 #38CEDD #DD38CE
tetradic
#CEDD38 #38DD9A #4738DD #DD387B
square
#CEDD38 #38DD9A #4738DD #DD387B
split-complementary
#CEDD38 #387BDD #9A38DD
monochromatic
#7A8417 #AAB81F #CEDD38 #DBE66C #E8EFA1
Accessibility & contrast
On white
1.50
#CEDD38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.02
#CEDD38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEDD38
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEDD38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEDD38 | 1.00 | 1.50 | 14.02 | 14.02 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD20E
Deuteranopia (green-blind)
#ECD446
Tritanopia (blue-blind)
#DCD0BE
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #cedd38; /* rgb */ color: rgb(206, 221, 56); /* oklch */ color: oklch(85.8% 0.178 114.8);
Tailwind
colors: {
custom: {
50: '#e1e77b',
500: '#cedd38',
950: '#000000',
},
}SCSS
$custom: #cedd38; $custom-light: #e1e77b; $custom-dark: #000000;
JSON
{
"hex": "#cedd38",
"rgb": {
"r": 206,
"g": 221,
"b": 56
},
"hsl": {
"h": 65.455,
"s": 70.815,
"l": 54.314
},
"oklch": {
"l": 0.85843,
"c": 0.17784,
"h": 114.8
},
"luminance": 0.6512
}Semantic roles & 50–950 ramp
primary
#CEDD38
secondary
#372F8B
accent
#3AEE4B
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160A
muted
#84847D