#E2CA4B#E2CA4B

#E2CA4B is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.6% C 0.145 H 98.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#E2CA4B
RGBrgb(226, 202, 75)
HSLhsl(50, 72%, 59%)
HSVhsv(50, 67%, 89%)
CMYKcmyk(0%, 10.6%, 66.8%, 11.4%)
CIE-LABlab(81.25, -5.68, 63.93)
CIE-LCHlch(81.25, 64.18, 95.08°)
OKLaboklab(83.64% -0.0213 0.1439)
OKLCHoklch(83.64% 0.145 98.4)
XYZxyz(53.7570, 58.9204, 15.1964)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA4B #4B63E2
analogous
#E27F4B #E2CA4B #AEE24B
triadic
#E2CA4B #4BE2CA #CA4BE2
tetradic
#E2CA4B #4BE27F #4B63E2 #E24BAE
square
#E2CA4B #4BE27F #4B63E2 #E24BAE
split-complementary
#E2CA4B #4BAEE2 #7F4BE2
monochromatic
#9A8519 #CFB321 #E2CA4B #EADA80 #F3E9B4

Accessibility & contrast

On white

1.64
#E2CA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#E2CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA4B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA4B#FFFFFF#000000##000000
##E2CA4B1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53A
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#F3BCB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2ca4b;
/* rgb */ color: rgb(226, 202, 75);
/* oklch */ color: oklch(83.6% 0.145 98.4);
Tailwind
colors: {
  custom: {
    50: '#efd984',
    500: '#e2ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca4b;
$custom-light: #efd984;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca4b",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 50.464,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83643,
    "c": 0.14543,
    "h": 98.4
  },
  "luminance": 0.58918
}

Semantic roles & 50–950 ramp

primary
#E2CA4B
secondary
#34459E
accent
#56EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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