#CFD53B#CFD53B

#CFD53B is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.2% C 0.168 H 111.8°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#CFD53B
RGBrgb(207, 213, 59)
HSLhsl(62, 65%, 53%)
HSVhsv(62, 72%, 84%)
CMYKcmyk(2.8%, 0%, 72.3%, 16.5%)
CIE-LABlab(82.47, -19.96, 70.56)
CIE-LCHlch(82.47, 73.33, 105.80°)
OKLaboklab(84.2% -0.0622 0.1558)
OKLCHoklch(84.2% 0.168 111.8)
XYZxyz(50.3174, 61.1709, 13.2934)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD53B #413BD5
analogous
#D58E3B #CFD53B #82D53B
triadic
#CFD53B #3BCFD5 #D53BCF
tetradic
#CFD53B #3BD58E #413BD5 #D53B82
square
#CFD53B #3BD58E #413BD5 #D53B82
split-complementary
#CFD53B #3B82D5 #8E3BD5
monochromatic
#777B1A #A8AE25 #CFD53B #DBE06D #E8EBA0

Accessibility & contrast

On white

1.59
#CFD53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#CFD53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD53B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD53B#FFFFFF#000000##000000
##CFD53B1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB1C
Deuteranopia (green-blind)
#E6CF47
Tritanopia (blue-blind)
#DDC8B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd53b;
/* rgb */ color: rgb(207, 213, 59);
/* oklch */ color: oklch(84.2% 0.168 111.8);
Tailwind
colors: {
  custom: {
    50: '#e1e17c',
    500: '#cfd53b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd53b;
$custom-light: #e1e17c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd53b",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 59
  },
  "hsl": {
    "h": 62.338,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.84203,
    "c": 0.16772,
    "h": 111.8
  },
  "luminance": 0.6117
}

Semantic roles & 50–950 ramp

primary
#CFD53B
secondary
#343183
accent
#40E847
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD53B

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

Preview Lab → · Contrast checker → · Palette generator →

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