#EDE76C#EDE76C

#EDE76C is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.9% C 0.145 H 106.4°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#EDE76C
RGBrgb(237, 231, 108)
HSLhsl(57, 78%, 68%)
HSVhsv(57, 54%, 93%)
CMYKcmyk(0%, 2.5%, 54.4%, 7.1%)
CIE-LABlab(89.97, -13.54, 59.57)
CIE-LCHlch(89.97, 61.09, 102.81°)
OKLaboklab(90.89% -0.0408 0.1387)
OKLCHoklch(90.89% 0.145 106.4)
XYZxyz(66.2097, 76.2410, 25.4127)
Luminance0.7624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE76C #6C72ED
analogous
#EDA66C #EDE76C #B3ED6C
triadic
#EDE76C #6CEDE7 #E76CED
tetradic
#EDE76C #6CEDA6 #6C72ED #ED6CB3
square
#EDE76C #6CEDA6 #6C72ED #ED6CB3
split-complementary
#EDE76C #6CB3ED #A66CED
monochromatic
#C6BE18 #E6DE35 #EDE76C #F4F0A3 #FAF9D9

Accessibility & contrast

On white

1.29
#EDE76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#EDE76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE76C
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE76C#FFFFFF#000000##000000
##EDE76C1.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FBE572
Tritanopia (blue-blind)
#FCDACC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ede76c;
/* rgb */ color: rgb(237, 231, 108);
/* oklch */ color: oklch(90.9% 0.145 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5ee9a',
    500: '#ede76c',
    950: '#000000',
  },
}
SCSS
$custom: #ede76c;
$custom-light: #f5ee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ede76c",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 57.209,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90886,
    "c": 0.1446,
    "h": 106.4
  },
  "luminance": 0.76239
}

Semantic roles & 50–950 ramp

primary
#EDE76C
secondary
#3940C4
accent
#15DA0B
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EDE76C

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

Preview Lab → · Contrast checker → · Palette generator →

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