#FFEF62#FFEF62

#FFEF62 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.159 H 102.8°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#FFEF62
RGBrgb(255, 239, 98)
HSLhsl(54, 100%, 69%)
HSVhsv(54, 62%, 100%)
CMYKcmyk(0%, 6.3%, 61.6%, 0%)
CIE-LABlab(93.40, -10.92, 68.09)
CIE-LCHlch(93.40, 68.96, 99.11°)
OKLaboklab(93.93% -0.0354 0.1553)
OKLCHoklch(93.93% 0.159 102.8)
XYZxyz(74.3139, 83.8777, 23.8284)
Luminance0.8387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF62 #6272FF
analogous
#FFA162 #FFEF62 #C1FF62
triadic
#FFEF62 #62FFEF #EF62FF
tetradic
#FFEF62 #62FFA1 #6272FF #FF62C1
square
#FFEF62 #62FFA1 #6272FF #FF62C1
split-complementary
#FFEF62 #62C1FF #A162FF
monochromatic
#E7CF00 #FFE925 #FFEF62 #FFF59F #FFFBDC

Accessibility & contrast

On white

1.18
#FFEF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#FFEF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF62
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF62#FFFFFF#000000##000000
##FFEF621.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFEF6A
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef62;
/* rgb */ color: rgb(255, 239, 98);
/* oklch */ color: oklch(93.9% 0.159 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff394',
    500: '#ffef62',
    950: '#000000',
  },
}
SCSS
$custom: #ffef62;
$custom-light: #fff394;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef62",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 98
  },
  "hsl": {
    "h": 53.885,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93933,
    "c": 0.15929,
    "h": 102.8
  },
  "luminance": 0.83875
}

Semantic roles & 50–950 ramp

primary
#FFEF62
secondary
#2C3DDA
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFEF62

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

Preview Lab → · Contrast checker → · Palette generator →

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