#FFEF52#FFEF52

#FFEF52 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.171 H 103.4°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#FFEF52
RGBrgb(255, 239, 82)
HSLhsl(54, 100%, 66%)
HSVhsv(54, 68%, 100%)
CMYKcmyk(0%, 6.3%, 67.8%, 0%)
CIE-LABlab(93.28, -11.82, 74.27)
CIE-LCHlch(93.28, 75.20, 99.04°)
OKLaboklab(93.8% -0.0397 0.1659)
OKLCHoklch(93.8% 0.171 103.4)
XYZxyz(73.6325, 83.6052, 20.2398)
Luminance0.8360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF52 #5262FF
analogous
#FF9852 #FFEF52 #B8FF52
triadic
#FFEF52 #52FFEF #EF52FF
tetradic
#FFEF52 #52FF98 #5262FF #FF52B8
square
#FFEF52 #52FF98 #5262FF #FF52B8
split-complementary
#FFEF52 #52B8FF #9852FF
monochromatic
#D7C300 #FFE915 #FFEF52 #FFF58F #FFFACC

Accessibility & contrast

On white

1.19
#FFEF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#FFEF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF52
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF52#FFFFFF#000000##000000
##FFEF521.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE73B
Deuteranopia (green-blind)
#FFEF5C
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef52;
/* rgb */ color: rgb(255, 239, 82);
/* oklch */ color: oklch(93.8% 0.171 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff38b',
    500: '#ffef52',
    950: '#000000',
  },
}
SCSS
$custom: #ffef52;
$custom-light: #fff38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef52",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 82
  },
  "hsl": {
    "h": 54.451,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93801,
    "c": 0.17062,
    "h": 103.4
  },
  "luminance": 0.83602
}

Semantic roles & 50–950 ramp

primary
#FFEF52
secondary
#2535D0
accent
#15E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFEF52

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

Preview Lab → · Contrast checker → · Palette generator →

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