#EDC754#EDC754

#EDC754 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 84.2% C 0.138 H 90.7°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#EDC754
RGBrgb(237, 199, 84)
HSLhsl(45, 81%, 63%)
HSVhsv(45, 65%, 93%)
CMYKcmyk(0%, 16%, 64.6%, 7.1%)
CIE-LABlab(81.56, 1.00, 60.79)
CIE-LCHlch(81.56, 60.80, 89.06°)
OKLaboklab(84.15% -0.0018 0.1383)
OKLCHoklch(84.15% 0.138 90.7)
XYZxyz(56.9516, 59.4947, 16.8697)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC754 #547AED
analogous
#ED7A54 #EDC754 #C6ED54
triadic
#EDC754 #54EDC7 #C754ED
tetradic
#EDC754 #54ED7A #547AED #ED54C6
square
#EDC754 #54ED7A #547AED #ED54C6
split-complementary
#EDC754 #54C6ED #7A54ED
monochromatic
#B48C13 #E7B51D #EDC754 #F3D98B #F9EBC3

Accessibility & contrast

On white

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

On black

12.90
#EDC754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC754
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC754#FFFFFF#000000##000000
##EDC7541.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edc754;
/* rgb */ color: rgb(237, 199, 84);
/* oklch */ color: oklch(84.2% 0.138 90.7);
Tailwind
colors: {
  custom: {
    50: '#f6d789',
    500: '#edc754',
    950: '#000000',
  },
}
SCSS
$custom: #edc754;
$custom-light: #f6d789;
$custom-dark: #000000;
JSON
{
  "hex": "#edc754",
  "rgb": {
    "r": 237,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 45.098,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84151,
    "c": 0.1383,
    "h": 90.7
  },
  "luminance": 0.59491
}

Semantic roles & 50–950 ramp

primary
#EDC754
secondary
#3252B4
accent
#3DDD08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC754

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

Preview Lab → · Contrast checker → · Palette generator →

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