#EFE272#EFE272

#EFE272 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.1% C 0.134 H 102.7°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#EFE272
RGBrgb(239, 226, 114)
HSLhsl(54, 80%, 69%)
HSVhsv(54, 52%, 94%)
CMYKcmyk(0%, 5.4%, 52.3%, 6.3%)
CIE-LABlab(88.90, -9.78, 55.65)
CIE-LCHlch(88.90, 56.50, 99.97°)
OKLaboklab(90.1% -0.0295 0.1308)
OKLCHoklch(90.1% 0.134 102.7)
XYZxyz(65.8322, 73.9606, 26.7244)
Luminance0.7396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE272 #727FEF
analogous
#EFA472 #EFE272 #BEEF72
triadic
#EFE272 #72EFE2 #E272EF
tetradic
#EFE272 #72EFA4 #727FEF #EF72BE
square
#EFE272 #72EFA4 #727FEF #EF72BE
split-complementary
#EFE272 #72BEEF #A472EF
monochromatic
#CFBC18 #E9D73B #EFE272 #F5EDA9 #FBF9E0

Accessibility & contrast

On white

1.33
#EFE272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#EFE272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE272
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE272#FFFFFF#000000##000000
##EFE2721.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC68
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#FED5C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #efe272;
/* rgb */ color: rgb(239, 226, 114);
/* oklch */ color: oklch(90.1% 0.134 102.7);
Tailwind
colors: {
  custom: {
    50: '#f7ea9d',
    500: '#efe272',
    950: '#000000',
  },
}
SCSS
$custom: #efe272;
$custom-light: #f7ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe272",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 114
  },
  "hsl": {
    "h": 53.76,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90097,
    "c": 0.13412,
    "h": 102.7
  },
  "luminance": 0.73958
}

Semantic roles & 50–950 ramp

primary
#EFE272
secondary
#3D4CC8
accent
#1FDC0A
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EFE272

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

Preview Lab → · Contrast checker → · Palette generator →

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