#EDC752#EDC752

#EDC752 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 84.1% C 0.140 H 91.0°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#EDC752
RGBrgb(237, 199, 82)
HSLhsl(45, 81%, 63%)
HSVhsv(45, 65%, 93%)
CMYKcmyk(0%, 16%, 65.4%, 7.1%)
CIE-LABlab(81.55, 0.88, 61.63)
CIE-LCHlch(81.55, 61.64, 89.18°)
OKLaboklab(84.13% -0.0024 0.1398)
OKLCHoklch(84.13% 0.14 91)
XYZxyz(56.8744, 59.4638, 16.4630)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC752 #5278ED
analogous
#ED7952 #EDC752 #C6ED52
triadic
#EDC752 #52EDC7 #C752ED
tetradic
#EDC752 #52ED79 #5278ED #ED52C6
square
#EDC752 #52ED79 #5278ED #ED52C6
split-complementary
#EDC752 #52C6ED #7952ED
monochromatic
#B28B13 #E7B51B #EDC752 #F3D989 #F9EBC1

Accessibility & contrast

On white

1.63
#EDC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#EDC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC752
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC752#FFFFFF#000000##000000
##EDC7521.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC444
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#FFB8AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #edc752;
/* rgb */ color: rgb(237, 199, 82);
/* oklch */ color: oklch(84.1% 0.140 91.0);
Tailwind
colors: {
  custom: {
    50: '#f7d788',
    500: '#edc752',
    950: '#000000',
  },
}
SCSS
$custom: #edc752;
$custom-light: #f7d788;
$custom-dark: #000000;
JSON
{
  "hex": "#edc752",
  "rgb": {
    "r": 237,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 45.29,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84133,
    "c": 0.13979,
    "h": 91
  },
  "luminance": 0.59461
}

Semantic roles & 50–950 ramp

primary
#EDC752
secondary
#3151B2
accent
#3CDE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC752

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

Preview Lab → · Contrast checker → · Palette generator →

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