#E7CD62#E7CD62

#E7CD62 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.9% C 0.130 H 95.8°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E7CD62
RGBrgb(231, 205, 98)
HSLhsl(48, 73%, 65%)
HSVhsv(48, 58%, 91%)
CMYKcmyk(0%, 11.3%, 57.6%, 9.4%)
CIE-LABlab(82.67, -3.65, 55.62)
CIE-LCHlch(82.67, 55.74, 93.76°)
OKLaboklab(84.94% -0.0132 0.1292)
OKLCHoklch(84.94% 0.13 95.8)
XYZxyz(56.9932, 61.5360, 20.4285)
Luminance0.6153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD62 #627CE7
analogous
#E78B62 #E7CD62 #BEE762
triadic
#E7CD62 #62E7CD #CD62E7
tetradic
#E7CD62 #62E78B #627CE7 #E762BE
square
#E7CD62 #62E78B #627CE7 #E762BE
split-complementary
#E7CD62 #62BEE7 #8B62E7
monochromatic
#B3961B #DFBC2D #E7CD62 #EFDE97 #F7EFCC

Accessibility & contrast

On white

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

On black

13.31
#E7CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD62
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD62#FFFFFF#000000##000000
##E7CD621.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#E6D167
Tritanopia (blue-blind)
#F8BFB5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd62;
/* rgb */ color: rgb(231, 205, 98);
/* oklch */ color: oklch(84.9% 0.130 95.8);
Tailwind
colors: {
  custom: {
    50: '#f1dc92',
    500: '#e7cd62',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd62;
$custom-light: #f1dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd62",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 48.271,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84936,
    "c": 0.12991,
    "h": 95.8
  },
  "luminance": 0.61533
}

Semantic roles & 50–950 ramp

primary
#E7CD62
secondary
#3A51B4
accent
#37D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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