#E7C14F#E7C14F

#E7C14F is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.3% C 0.137 H 90.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#E7C14F
RGBrgb(231, 193, 79)
HSLhsl(45, 76%, 61%)
HSVhsv(45, 66%, 91%)
CMYKcmyk(0%, 16.5%, 65.8%, 9.4%)
CIE-LABlab(79.44, 1.29, 60.50)
CIE-LCHlch(79.44, 60.52, 88.77°)
OKLaboklab(82.33% -0.0012 0.1371)
OKLCHoklch(82.33% 0.137 90.5)
XYZxyz(53.4390, 55.6964, 15.3314)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C14F #4F75E7
analogous
#E7754F #E7C14F #C1E74F
triadic
#E7C14F #4FE7C1 #C14FE7
tetradic
#E7C14F #4FE775 #4F75E7 #E74FC1
square
#E7C14F #4FE775 #4F75E7 #E74FC1
split-complementary
#E7C14F #4FC1E7 #754FE7
monochromatic
#A58117 #DBAC1E #E7C14F #EED485 #F6E7BB

Accessibility & contrast

On white

1.73
#E7C14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#E7C14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C14F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C14F#FFFFFF#000000##000000
##E7C14F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF41
Deuteranopia (green-blind)
#DFC954
Tritanopia (blue-blind)
#F9B2A9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e7c14f;
/* rgb */ color: rgb(231, 193, 79);
/* oklch */ color: oklch(82.3% 0.137 90.5);
Tailwind
colors: {
  custom: {
    50: '#f2d385',
    500: '#e7c14f',
    950: '#000000',
  },
}
SCSS
$custom: #e7c14f;
$custom-light: #f2d385;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c14f",
  "rgb": {
    "r": 231,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 45,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82332,
    "c": 0.13709,
    "h": 90.5
  },
  "luminance": 0.55693
}

Semantic roles & 50–950 ramp

primary
#E7C14F
secondary
#3350A7
accent
#40D80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C14F

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

Preview Lab → · Contrast checker → · Palette generator →

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