#EAF670#EAF670
#EAF670 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.8% C 0.158 H 113.7°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF670 |
|---|---|
| RGB | rgb(234, 246, 112) |
| HSL | hsl(65, 88%, 70%) |
| HSV | hsv(65, 54%, 96%) |
| CMYK | cmyk(4.9%, 0%, 54.5%, 3.5%) |
| CIE-LAB | lab(93.70, -21.71, 62.00) |
| CIE-LCH | lch(93.70, 65.69, 109.30°) |
| OKLab | oklab(93.82% -0.0634 0.1444) |
| OKLCH | oklch(93.82% 0.158 113.7) |
| XYZ | xyz(69.8135, 84.5750, 27.9730) |
| Luminance | 0.8457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.26
Faded Yellow
#FEFF7F
ΔE00 3.32
Banana (survey)
#FFFF7E
ΔE00 3.50
Butter
#FFFF81
ΔE00 3.54
Light Yellow
#FFFE7A
ΔE00 3.58
Pale Yellow
#FFFF84
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF670 #7C70F6
analogous
#F6BF70 #EAF670 #A7F670
triadic
#EAF670 #70EAF6 #F670EA
tetradic
#EAF670 #70F6BF #7C70F6 #F670A7
square
#EAF670 #70F6BF #7C70F6 #F670A7
split-complementary
#EAF670 #70A7F6 #BF70F6
monochromatic
#CBDE0E #E2F236 #EAF670 #F2FAAA #FBFDE2
Accessibility & contrast
On white
1.17
#EAF670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.91
#EAF670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF670
17.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF670 | 1.00 | 1.17 | 17.91 | 17.91 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#F7E9D9
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #eaf670; /* rgb */ color: rgb(234, 246, 112); /* oklch */ color: oklch(93.8% 0.158 113.7);
Tailwind
colors: {
custom: {
50: '#f3f99d',
500: '#eaf670',
950: '#000000',
},
}SCSS
$custom: #eaf670; $custom-light: #f3f99d; $custom-dark: #000000;
JSON
{
"hex": "#eaf670",
"rgb": {
"r": 234,
"g": 246,
"b": 112
},
"hsl": {
"h": 65.373,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.93817,
"c": 0.15772,
"h": 113.7
},
"luminance": 0.84574
}Semantic roles & 50–950 ramp
primary
#EAF670
secondary
#473AD0
accent
#01E515
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580