#EFE07C#EFE07C

#EFE07C is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.8% C 0.123 H 100.9°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#EFE07C
RGBrgb(239, 224, 124)
HSLhsl(52, 78%, 71%)
HSVhsv(52, 48%, 94%)
CMYKcmyk(0%, 6.3%, 48.1%, 6.3%)
CIE-LABlab(88.50, -7.93, 50.46)
CIE-LCHlch(88.50, 51.08, 98.93°)
OKLaboklab(89.82% -0.0231 0.1203)
OKLCHoklch(89.82% 0.123 100.9)
XYZxyz(65.8922, 73.1195, 29.7074)
Luminance0.7312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE07C #7C8BEF
analogous
#EFA67C #EFE07C #C4EF7C
triadic
#EFE07C #7CEFE0 #E07CEF
tetradic
#EFE07C #7CEFA6 #7C8BEF #EF7CC4
square
#EFE07C #7CEFA6 #7C8BEF #EF7CC4
split-complementary
#EFE07C #7CC4EF #A67CEF
monochromatic
#D6BE1A #E8D345 #EFE07C #F6EDB3 #FCF9E4

Accessibility & contrast

On white

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

On black

15.62
#EFE07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE07C
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE07C#FFFFFF#000000##000000
##EFE07C1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB73
Deuteranopia (green-blind)
#F5E180
Tritanopia (blue-blind)
#FED4C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efe07c;
/* rgb */ color: rgb(239, 224, 124);
/* oklch */ color: oklch(89.8% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#f6e9a4',
    500: '#efe07c',
    950: '#000000',
  },
}
SCSS
$custom: #efe07c;
$custom-light: #f6e9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#efe07c",
  "rgb": {
    "r": 239,
    "g": 224,
    "b": 124
  },
  "hsl": {
    "h": 52.174,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89817,
    "c": 0.12255,
    "h": 100.9
  },
  "luminance": 0.73117
}

Semantic roles & 50–950 ramp

primary
#EFE07C
secondary
#4657C9
accent
#26DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE07C

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

Preview Lab → · Contrast checker → · Palette generator →

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