#EFD272#EFD272

#EFD272 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.9% C 0.120 H 92.9°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#EFD272
RGBrgb(239, 210, 114)
HSLhsl(46, 80%, 69%)
HSVhsv(46, 52%, 94%)
CMYKcmyk(0%, 12.1%, 52.3%, 6.3%)
CIE-LABlab(84.82, -1.69, 50.81)
CIE-LCHlch(84.82, 50.84, 91.91°)
OKLaboklab(86.87% -0.0062 0.1203)
OKLCHoklch(86.87% 0.12 92.9)
XYZxyz(61.6827, 65.6616, 25.3412)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD272 #728FEF
analogous
#EF9472 #EFD272 #CEEF72
triadic
#EFD272 #72EFD2 #D272EF
tetradic
#EFD272 #72EF94 #728FEF #EF72CE
square
#EFD272 #72EF94 #728FEF #EF72CE
split-complementary
#EFD272 #72CEEF #9472EF
monochromatic
#CFA518 #E9C03B #EFD272 #F5E4A9 #FBF5E0

Accessibility & contrast

On white

1.49
#EFD272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#EFD272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD272
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD272#FFFFFF#000000##000000
##EFD2721.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF69
Deuteranopia (green-blind)
#EBD876
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #efd272;
/* rgb */ color: rgb(239, 210, 114);
/* oklch */ color: oklch(86.9% 0.120 92.9);
Tailwind
colors: {
  custom: {
    50: '#f7df9d',
    500: '#efd272',
    950: '#000000',
  },
}
SCSS
$custom: #efd272;
$custom-light: #f7df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efd272",
  "rgb": {
    "r": 239,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 46.08,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86866,
    "c": 0.12044,
    "h": 92.9
  },
  "luminance": 0.65659
}

Semantic roles & 50–950 ramp

primary
#EFD272
secondary
#3D5DC8
accent
#3ADC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD272

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

Preview Lab → · Contrast checker → · Palette generator →

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