#EFE08C#EFE08C

#EFE08C is a very light, moderate yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.106 H 99.4°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#EFE08C
RGBrgb(239, 224, 140)
HSLhsl(51, 76%, 74%)
HSVhsv(51, 41%, 94%)
CMYKcmyk(0%, 6.3%, 41.4%, 6.3%)
CIE-LABlab(88.71, -6.39, 42.92)
CIE-LCHlch(88.71, 43.39, 98.47°)
OKLaboklab(90.05% -0.0173 0.1045)
OKLCHoklch(90.05% 0.106 99.4)
XYZxyz(66.9873, 73.5576, 35.4752)
Luminance0.7356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE08C #8C9BEF
analogous
#EFAF8C #EFE08C #CDEF8C
triadic
#EFE08C #8CEFE0 #E08CEF
tetradic
#EFE08C #8CEFAF #8C9BEF #EF8CCD
square
#EFE08C #8CEFAF #8C9BEF #EF8CCD
split-complementary
#EFE08C #8CCDEF #AF8CEF
monochromatic
#E0C321 #E8D256 #EFE08C #F6EEC2 #FBF8E4

Accessibility & contrast

On white

1.34
#EFE08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#EFE08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE08C
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE08C#FFFFFF#000000##000000
##EFE08C1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB86
Deuteranopia (green-blind)
#F3E18F
Tritanopia (blue-blind)
#FDD5CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #efe08c;
/* rgb */ color: rgb(239, 224, 140);
/* oklch */ color: oklch(90.0% 0.106 99.4);
Tailwind
colors: {
  custom: {
    50: '#f6e9af',
    500: '#efe08c',
    950: '#000000',
  },
}
SCSS
$custom: #efe08c;
$custom-light: #f6e9af;
$custom-dark: #000000;
JSON
{
  "hex": "#efe08c",
  "rgb": {
    "r": 239,
    "g": 224,
    "b": 140
  },
  "hsl": {
    "h": 50.909,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90049,
    "c": 0.10588,
    "h": 99.4
  },
  "luminance": 0.73555
}

Semantic roles & 50–950 ramp

primary
#EFE08C
secondary
#5567CB
accent
#2CD80E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE08C

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

Preview Lab → · Contrast checker → · Palette generator →

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