#EBF162#EBF162
#EBF162 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.164 H 111.4°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).
Color values
| HEX | #EBF162 |
|---|---|
| RGB | rgb(235, 241, 98) |
| HSL | hsl(63, 84%, 66%) |
| HSV | hsv(63, 59%, 95%) |
| CMYK | cmyk(2.5%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(92.33, -19.94, 66.48) |
| CIE-LCH | lch(92.33, 69.40, 106.69°) |
| OKLab | oklab(92.7% -0.0598 0.1523) |
| OKLCH | oklch(92.7% 0.164 111.4) |
| XYZ | xyz(67.9227, 81.4561, 23.6975) |
| Luminance | 0.8145 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 3.32
Butter Yellow
#FFFD74
ΔE00 3.33
Canary
#FDFF63
ΔE00 3.40
Custard
#FFFD78
ΔE00 3.43
Off Yellow
#F1F33F
ΔE00 3.48
Straw
#FCF679
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBF162 #6862F1
analogous
#F1AF62 #EBF162 #A4F162
triadic
#EBF162 #62EBF1 #F162EB
tetradic
#EBF162 #62F1AF #6862F1 #F162A4
square
#EBF162 #62F1AF #6862F1 #F162A4
split-complementary
#EBF162 #62A4F1 #AF62F1
monochromatic
#BFC712 #E4EC2A #EBF162 #F2F69A #F9FBD2
Accessibility & contrast
On white
1.21
#EBF162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.29
#EBF162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBF162
17.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBF162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBF162 | 1.00 | 1.21 | 17.29 | 17.29 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#FAE3D3
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ebf162; /* rgb */ color: rgb(235, 241, 98); /* oklch */ color: oklch(92.7% 0.164 111.4);
Tailwind
colors: {
custom: {
50: '#f4f594',
500: '#ebf162',
950: '#000000',
},
}SCSS
$custom: #ebf162; $custom-light: #f4f594; $custom-dark: #000000;
JSON
{
"hex": "#ebf162",
"rgb": {
"r": 235,
"g": 241,
"b": 98
},
"hsl": {
"h": 62.517,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.92703,
"c": 0.16367,
"h": 111.4
},
"luminance": 0.81455
}Semantic roles & 50–950 ramp
primary
#EBF162
secondary
#3933C4
accent
#05E00F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F