#EFD95C#EFD95C

#EFD95C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.0% C 0.145 H 99.3°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#EFD95C
RGBrgb(239, 217, 92)
HSLhsl(51, 82%, 65%)
HSVhsv(51, 62%, 94%)
CMYKcmyk(0%, 9.2%, 61.5%, 6.3%)
CIE-LABlab(86.38, -6.87, 62.62)
CIE-LCHlch(86.38, 63.00, 96.26°)
OKLaboklab(88.03% -0.0236 0.1433)
OKLCHoklch(88.03% 0.145 99.3)
XYZxyz(62.3438, 68.7518, 20.1097)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD95C #5C72EF
analogous
#EF8F5C #EFD95C #BCEF5C
triadic
#EFD95C #5CEFD9 #D95CEF
tetradic
#EFD95C #5CEF8F #5C72EF #EF5CBC
square
#EFD95C #5CEF8F #5C72EF #EF5CBC
split-complementary
#EFD95C #5CBCEF #8F5CEF
monochromatic
#BEA413 #EACC24 #EFD95C #F4E694 #FAF3CB

Accessibility & contrast

On white

1.42
#EFD95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#EFD95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD95C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD95C#FFFFFF#000000##000000
##EFD95C1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD44E
Deuteranopia (green-blind)
#F2DC62
Tritanopia (blue-blind)
#FFCBBE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd95c;
/* rgb */ color: rgb(239, 217, 92);
/* oklch */ color: oklch(88.0% 0.145 99.3);
Tailwind
colors: {
  custom: {
    50: '#f7e48f',
    500: '#efd95c',
    950: '#000000',
  },
}
SCSS
$custom: #efd95c;
$custom-light: #f7e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#efd95c",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 51.02,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88026,
    "c": 0.14519,
    "h": 99.3
  },
  "luminance": 0.68749
}

Semantic roles & 50–950 ramp

primary
#EFD95C
secondary
#3347BC
accent
#27DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD95C

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

Preview Lab → · Contrast checker → · Palette generator →

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