#E7C04F#E7C04F

#E7C04F is a very light, vivid orange. Relative luminance 0.553; OKLCH L 82.1% C 0.137 H 89.9°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#E7C04F
RGBrgb(231, 192, 79)
HSLhsl(45, 76%, 61%)
HSVhsv(45, 66%, 91%)
CMYKcmyk(0%, 16.9%, 65.8%, 9.4%)
CIE-LABlab(79.19, 1.81, 60.24)
CIE-LCHlch(79.19, 60.26, 88.28°)
OKLaboklab(82.13% 0.0003 0.1365)
OKLCHoklch(82.13% 0.137 89.9)
XYZxyz(53.2187, 55.2558, 15.2580)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C04F #4F76E7
analogous
#E7744F #E7C04F #C2E74F
triadic
#E7C04F #4FE7C0 #C04FE7
tetradic
#E7C04F #4FE774 #4F76E7 #E74FC2
square
#E7C04F #4FE774 #4F76E7 #E74FC2
split-complementary
#E7C04F #4FC2E7 #744FE7
monochromatic
#A58117 #DBAA1E #E7C04F #EED385 #F6E7BB

Accessibility & contrast

On white

1.74
#E7C04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#E7C04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C04F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C04F#FFFFFF#000000##000000
##E7C04F1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE42
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#F9B1A8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e7c04f;
/* rgb */ color: rgb(231, 192, 79);
/* oklch */ color: oklch(82.1% 0.137 89.9);
Tailwind
colors: {
  custom: {
    50: '#f2d285',
    500: '#e7c04f',
    950: '#000000',
  },
}
SCSS
$custom: #e7c04f;
$custom-light: #f2d285;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c04f",
  "rgb": {
    "r": 231,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 44.605,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82133,
    "c": 0.13652,
    "h": 89.9
  },
  "luminance": 0.55253
}

Semantic roles & 50–950 ramp

primary
#E7C04F
secondary
#3351A7
accent
#41D80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C04F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E7C04F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva