#EFE172#EFE172

#EFE172 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.133 H 102.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#EFE172
RGBrgb(239, 225, 114)
HSLhsl(53, 80%, 69%)
HSVhsv(53, 52%, 94%)
CMYKcmyk(0%, 5.9%, 52.3%, 6.3%)
CIE-LABlab(88.65, -9.28, 55.35)
CIE-LCHlch(88.65, 56.12, 99.52°)
OKLaboklab(89.89% -0.0281 0.1302)
OKLCHoklch(89.89% 0.133 102.2)
XYZxyz(65.5611, 73.4183, 26.6340)
Luminance0.7342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE172 #7280EF
analogous
#EFA372 #EFE172 #BFEF72
triadic
#EFE172 #72EFE1 #E172EF
tetradic
#EFE172 #72EFA3 #7280EF #EF72BF
square
#EFE172 #72EFA3 #7280EF #EF72BF
split-complementary
#EFE172 #72BFEF #A372EF
monochromatic
#CFBB18 #E9D53B #EFE172 #F5EDA9 #FBF8E0

Accessibility & contrast

On white

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

On black

15.68
#EFE172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE172
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE172#FFFFFF#000000##000000
##EFE1721.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#F7E177
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efe172;
/* rgb */ color: rgb(239, 225, 114);
/* oklch */ color: oklch(89.9% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#f7ea9d',
    500: '#efe172',
    950: '#000000',
  },
}
SCSS
$custom: #efe172;
$custom-light: #f7ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe172",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 53.28,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89893,
    "c": 0.13317,
    "h": 102.2
  },
  "luminance": 0.73416
}

Semantic roles & 50–950 ramp

primary
#EFE172
secondary
#3D4DC8
accent
#21DC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EFE172

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

Preview Lab → · Contrast checker → · Palette generator →

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