#EDC651#EDC651

#EDC651 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.9% C 0.140 H 90.5°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#EDC651
RGBrgb(237, 198, 81)
HSLhsl(45, 81%, 62%)
HSVhsv(45, 66%, 93%)
CMYKcmyk(0%, 16.5%, 65.8%, 7.1%)
CIE-LABlab(81.29, 1.34, 61.78)
CIE-LCHlch(81.29, 61.80, 88.76°)
OKLaboklab(83.93% -0.0012 0.1399)
OKLCHoklch(83.93% 0.14 90.5)
XYZxyz(56.6073, 58.9900, 16.1876)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC651 #5178ED
analogous
#ED7851 #EDC651 #C6ED51
triadic
#EDC651 #51EDC6 #C651ED
tetradic
#EDC651 #51ED78 #5178ED #ED51C6
square
#EDC651 #51ED78 #5178ED #ED51C6
split-complementary
#EDC651 #51C6ED #7851ED
monochromatic
#B18A12 #E7B41A #EDC651 #F3D888 #F8EAC0

Accessibility & contrast

On white

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

On black

12.80
#EDC651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC651
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC651#FFFFFF#000000##000000
##EDC6511.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E4CF56
Tritanopia (blue-blind)
#FFB7AD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #edc651;
/* rgb */ color: rgb(237, 198, 81);
/* oklch */ color: oklch(83.9% 0.140 90.5);
Tailwind
colors: {
  custom: {
    50: '#f7d787',
    500: '#edc651',
    950: '#000000',
  },
}
SCSS
$custom: #edc651;
$custom-light: #f7d787;
$custom-dark: #000000;
JSON
{
  "hex": "#edc651",
  "rgb": {
    "r": 237,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 45,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83925,
    "c": 0.13994,
    "h": 90.5
  },
  "luminance": 0.58987
}

Semantic roles & 50–950 ramp

primary
#EDC651
secondary
#3151B1
accent
#3DDE08
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC651

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

Preview Lab → · Contrast checker → · Palette generator →

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