#EFCF42#EFCF42

#EFCF42 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.8% C 0.156 H 95.9°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#EFCF42
RGBrgb(239, 207, 66)
HSLhsl(49, 84%, 60%)
HSVhsv(49, 72%, 94%)
CMYKcmyk(0%, 13.4%, 72.4%, 6.3%)
CIE-LABlab(83.64, -3.20, 70.17)
CIE-LCHlch(83.64, 70.24, 92.61°)
OKLaboklab(85.79% -0.016 0.1551)
OKLCHoklch(85.79% 0.156 95.9)
XYZxyz(58.8958, 63.3729, 14.2832)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFCF42 #4262EF
analogous
#EF7942 #EFCF42 #B8EF42
triadic
#EFCF42 #42EFCF #CF42EF
tetradic
#EFCF42 #42EF79 #4262EF #EF42B8
square
#EFCF42 #42EF79 #4262EF #EF42B8
split-complementary
#EFCF42 #42B8EF #7942EF
monochromatic
#A88C0E #E1BB13 #EFCF42 #F4DD7A #F9ECB3

Accessibility & contrast

On white

1.54
#EFCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#EFCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFCF42
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFCF42#FFFFFF#000000##000000
##EFCF421.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2B
Deuteranopia (green-blind)
#ECD54A
Tritanopia (blue-blind)
#FFBFB3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #efcf42;
/* rgb */ color: rgb(239, 207, 66);
/* oklch */ color: oklch(85.8% 0.156 95.9);
Tailwind
colors: {
  custom: {
    50: '#f8dd7f',
    500: '#efcf42',
    950: '#000000',
  },
}
SCSS
$custom: #efcf42;
$custom-light: #f8dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#efcf42",
  "rgb": {
    "r": 239,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 48.902,
    "s": 84.39,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85792,
    "c": 0.15587,
    "h": 95.9
  },
  "luminance": 0.6337
}

Semantic roles & 50–950 ramp

primary
#EFCF42
secondary
#2C43AA
accent
#53FB2D
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #EFCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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