#E2CF48#E2CF48

#E2CF48 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.151 H 101.2°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#E2CF48
RGBrgb(226, 207, 72)
HSLhsl(53, 73%, 58%)
HSVhsv(53, 68%, 89%)
CMYKcmyk(0%, 8.4%, 68.1%, 11.4%)
CIE-LABlab(82.52, -8.38, 66.42)
CIE-LCHlch(82.52, 66.95, 97.19°)
OKLaboklab(84.65% -0.0294 0.1486)
OKLCHoklch(84.65% 0.152 101.2)
XYZxyz(54.8489, 61.2647, 15.0658)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF48 #485BE2
analogous
#E28248 #E2CF48 #A8E248
triadic
#E2CF48 #48E2CF #CF48E2
tetradic
#E2CF48 #48E282 #485BE2 #E248A8
square
#E2CF48 #48E282 #485BE2 #E248A8
split-complementary
#E2CF48 #48A8E2 #8248E2
monochromatic
#988818 #CCB720 #E2CF48 #EADD7D #F3EBB2

Accessibility & contrast

On white

1.58
#E2CF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#E2CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF48
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF48#FFFFFF#000000##000000
##E2CF481.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C935
Deuteranopia (green-blind)
#E7D150
Tritanopia (blue-blind)
#F3C1B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cf48;
/* rgb */ color: rgb(226, 207, 72);
/* oklch */ color: oklch(84.6% 0.151 101.2);
Tailwind
colors: {
  custom: {
    50: '#efdd82',
    500: '#e2cf48',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf48;
$custom-light: #efdd82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf48",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 52.597,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84646,
    "c": 0.1515,
    "h": 101.2
  },
  "luminance": 0.61262
}

Semantic roles & 50–950 ramp

primary
#E2CF48
secondary
#33409C
accent
#4FEF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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