#EDD968#EDD968

#EDD968 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.0% C 0.135 H 99.4°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#EDD968
RGBrgb(237, 217, 104)
HSLhsl(51, 79%, 67%)
HSVhsv(51, 56%, 93%)
CMYKcmyk(0%, 8.4%, 56.1%, 7.1%)
CIE-LABlab(86.32, -6.85, 57.20)
CIE-LCHlch(86.32, 57.61, 96.83°)
OKLaboklab(87.97% -0.0221 0.1332)
OKLCHoklch(87.97% 0.135 99.4)
XYZxyz(62.2388, 68.6322, 23.0629)
Luminance0.6863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD968 #687CED
analogous
#ED9668 #EDD968 #BFED68
triadic
#EDD968 #68EDD9 #D968ED
tetradic
#EDD968 #68ED96 #687CED #ED68BF
square
#EDD968 #68ED96 #687CED #ED68BF
split-complementary
#EDD968 #68BFED #9668ED
monochromatic
#C3A917 #E6CB31 #EDD968 #F4E79F #FAF5D5

Accessibility & contrast

On white

1.43
#EDD968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#EDD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD968
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD968#FFFFFF#000000##000000
##EDD9681.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45D
Deuteranopia (green-blind)
#F1DB6D
Tritanopia (blue-blind)
#FDCBC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd968;
/* rgb */ color: rgb(237, 217, 104);
/* oklch */ color: oklch(88.0% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#f5e496',
    500: '#edd968',
    950: '#000000',
  },
}
SCSS
$custom: #edd968;
$custom-light: #f5e496;
$custom-dark: #000000;
JSON
{
  "hex": "#edd968",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 50.977,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87974,
    "c": 0.13501,
    "h": 99.4
  },
  "luminance": 0.6863
}

Semantic roles & 50–950 ramp

primary
#EDD968
secondary
#384DC1
accent
#2ADB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD968

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

Preview Lab → · Contrast checker → · Palette generator →

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