#EFD254#EFD254

#EFD254 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.5% C 0.146 H 96.2°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#EFD254
RGBrgb(239, 210, 84)
HSLhsl(49, 83%, 63%)
HSVhsv(49, 65%, 94%)
CMYKcmyk(0%, 12.1%, 64.9%, 6.3%)
CIE-LABlab(84.53, -3.81, 64.02)
CIE-LCHlch(84.53, 64.13, 93.40°)
OKLaboklab(86.54% -0.0157 0.1451)
OKLCHoklch(86.54% 0.146 96.2)
XYZxyz(60.2462, 65.0870, 17.7755)
Luminance0.6508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD254 #5471EF
analogous
#EF8454 #EFD254 #BFEF54
triadic
#EFD254 #54EFD2 #D254EF
tetradic
#EFD254 #54EF84 #5471EF #EF54BF
square
#EFD254 #54EF84 #5471EF #EF54BF
split-complementary
#EFD254 #54BFEF #8454EF
monochromatic
#B79811 #EAC31C #EFD254 #F4E18C #F9EFC4

Accessibility & contrast

On white

1.50
#EFD254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#EFD254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD254
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD254#FFFFFF#000000##000000
##EFD2541.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE45
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #efd254;
/* rgb */ color: rgb(239, 210, 84);
/* oklch */ color: oklch(86.5% 0.146 96.2);
Tailwind
colors: {
  custom: {
    50: '#f8df8a',
    500: '#efd254',
    950: '#000000',
  },
}
SCSS
$custom: #efd254;
$custom-light: #f8df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#efd254",
  "rgb": {
    "r": 239,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 48.774,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86537,
    "c": 0.14592,
    "h": 96.2
  },
  "luminance": 0.65084
}

Semantic roles & 50–950 ramp

primary
#EFD254
secondary
#314AB7
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFD254

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

Preview Lab → · Contrast checker → · Palette generator →

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