#E7CA4B#E7CA4B

#E7CA4B is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.146 H 96.1°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#E7CA4B
RGBrgb(231, 202, 75)
HSLhsl(49, 76%, 60%)
HSVhsv(49, 68%, 91%)
CMYKcmyk(0%, 12.6%, 67.5%, 9.4%)
CIE-LABlab(81.70, -3.57, 64.53)
CIE-LCHlch(81.70, 64.63, 93.17°)
OKLaboklab(84.1% -0.0156 0.145)
OKLCHoklch(84.1% 0.146 96.1)
XYZxyz(55.3482, 59.7408, 15.2710)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CA4B #4B68E7
analogous
#E77C4B #E7CA4B #B6E74B
triadic
#E7CA4B #4BE7CA #CA4BE7
tetradic
#E7CA4B #4BE77C #4B68E7 #E74BB6
square
#E7CA4B #4BE77C #4B68E7 #E74BB6
split-complementary
#E7CA4B #4BB6E7 #7C4BE7
monochromatic
#A28816 #D8B51D #E7CA4B #EEDA81 #F5EAB7

Accessibility & contrast

On white

1.62
#E7CA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#E7CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CA4B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CA4B#FFFFFF#000000##000000
##E7CA4B1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#E5CF52
Tritanopia (blue-blind)
#F9BBB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7ca4b;
/* rgb */ color: rgb(231, 202, 75);
/* oklch */ color: oklch(84.1% 0.146 96.1);
Tailwind
colors: {
  custom: {
    50: '#f2d984',
    500: '#e7ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #e7ca4b;
$custom-light: #f2d984;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ca4b",
  "rgb": {
    "r": 231,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 48.846,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.84105,
    "c": 0.14582,
    "h": 96.1
  },
  "luminance": 0.59738
}

Semantic roles & 50–950 ramp

primary
#E7CA4B
secondary
#3247A4
accent
#58F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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