#EFE37C#EFE37C

#EFE37C is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.4% C 0.125 H 102.7°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#EFE37C
RGBrgb(239, 227, 124)
HSLhsl(54, 78%, 71%)
HSVhsv(54, 48%, 94%)
CMYKcmyk(0%, 5%, 48.1%, 6.3%)
CIE-LABlab(89.27, -9.43, 51.40)
CIE-LCHlch(89.27, 52.25, 100.40°)
OKLaboklab(90.43% -0.0275 0.1224)
OKLCHoklch(90.43% 0.125 102.7)
XYZxyz(66.7056, 74.7462, 29.9785)
Luminance0.7474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE37C #7C88EF
analogous
#EFA97C #EFE37C #C1EF7C
triadic
#EFE37C #7CEFE3 #E37CEF
tetradic
#EFE37C #7CEFA9 #7C88EF #EF7CC1
square
#EFE37C #7CEFA9 #7C88EF #EF7CC1
split-complementary
#EFE37C #7CC1EF #A97CEF
monochromatic
#D6C31A #E8D745 #EFE37C #F6EFB3 #FCF9E4

Accessibility & contrast

On white

1.32
#EFE37C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#EFE37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE37C
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE37C#FFFFFF#000000##000000
##EFE37C1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD73
Deuteranopia (green-blind)
#F7E381
Tritanopia (blue-blind)
#FED7CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe37c;
/* rgb */ color: rgb(239, 227, 124);
/* oklch */ color: oklch(90.4% 0.125 102.7);
Tailwind
colors: {
  custom: {
    50: '#f6eba4',
    500: '#efe37c',
    950: '#000000',
  },
}
SCSS
$custom: #efe37c;
$custom-light: #f6eba4;
$custom-dark: #000000;
JSON
{
  "hex": "#efe37c",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 124
  },
  "hsl": {
    "h": 53.739,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90427,
    "c": 0.12545,
    "h": 102.7
  },
  "luminance": 0.74744
}

Semantic roles & 50–950 ramp

primary
#EFE37C
secondary
#4654C9
accent
#21DA0B
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE37C

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

Preview Lab → · Contrast checker → · Palette generator →

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