#EBC162#EBC162
#EBC162 is a very light, vivid orange. Relative luminance 0.567; OKLCH L 82.9% C 0.123 H 85.6°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #EBC162 |
|---|---|
| RGB | rgb(235, 193, 98) |
| HSL | hsl(42, 77%, 65%) |
| HSV | hsv(42, 58%, 92%) |
| CMYK | cmyk(0%, 17.9%, 58.3%, 7.8%) |
| CIE-LAB | lab(80.00, 4.20, 52.66) |
| CIE-LCH | lch(80.00, 52.82, 85.44°) |
| OKLab | oklab(82.92% 0.0093 0.1228) |
| OKLCH | oklch(82.92% 0.123 85.6) |
| XYZ | xyz(55.5382, 56.6871, 19.5693) |
| Luminance | 0.5668 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.32
Maize
#F4D054
ΔE00 5.54
Macaroni And Cheese
#EFB435
ΔE00 5.61
Light Mustard
#F7D560
ΔE00 6.00
Mustard
#DBB42C
ΔE00 6.12
Tan (survey)
#D1B26F
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBC162 #628CEB
analogous
#EB7C62 #EBC162 #D0EB62
triadic
#EBC162 #62EBC1 #C162EB
tetradic
#EBC162 #62EB7C #628CEB #EB62D0
square
#EBC162 #62EB7C #628CEB #EB62D0
split-complementary
#EBC162 #62D0EB #7C62EB
monochromatic
#BB8918 #E4AC2C #EBC162 #F2D698 #F9ECCF
Accessibility & contrast
On white
1.70
#EBC162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.34
#EBC162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBC162
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBC162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBC162 | 1.00 | 1.70 | 12.34 | 12.34 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#FDB3AB
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #ebc162; /* rgb */ color: rgb(235, 193, 98); /* oklch */ color: oklch(82.9% 0.123 85.6);
Tailwind
colors: {
custom: {
50: '#f5d391',
500: '#ebc162',
950: '#000000',
},
}SCSS
$custom: #ebc162; $custom-light: #f5d391; $custom-dark: #000000;
JSON
{
"hex": "#ebc162",
"rgb": {
"r": 235,
"g": 193,
"b": 98
},
"hsl": {
"h": 41.606,
"s": 77.401,
"l": 65.294
},
"oklch": {
"l": 0.82922,
"c": 0.12312,
"h": 85.6
},
"luminance": 0.56684
}Semantic roles & 50–950 ramp
primary
#EBC162
secondary
#375FBA
accent
#4BDA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F