#CFD03B#CFD03B

#CFD03B is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.163 H 109.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CFD03B
RGBrgb(207, 208, 59)
HSLhsl(60, 61%, 52%)
HSVhsv(60, 72%, 82%)
CMYKcmyk(0.5%, 0%, 71.6%, 18.4%)
CIE-LABlab(81.12, -17.50, 69.27)
CIE-LCHlch(81.12, 71.45, 104.18°)
OKLaboklab(83.13% -0.0553 0.1531)
OKLCHoklch(83.13% 0.163 109.9)
XYZxyz(49.0792, 58.6943, 12.8806)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD03B #3C3BD0
analogous
#D0873B #CFD03B #84D03B
triadic
#CFD03B #3BCFD0 #D03BCF
tetradic
#CFD03B #3BD087 #3C3BD0 #D03B84
square
#CFD03B #3BD087 #3C3BD0 #D03B84
split-complementary
#CFD03B #3B84D0 #873BD0
monochromatic
#74751C #A5A628 #CFD03B #DBDC6C #E7E89E

Accessibility & contrast

On white

1.65
#CFD03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CFD03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD03B
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD03B#FFFFFF#000000##000000
##CFD03B1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C71E
Deuteranopia (green-blind)
#E2CC46
Tritanopia (blue-blind)
#DEC3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfd03b;
/* rgb */ color: rgb(207, 208, 59);
/* oklch */ color: oklch(83.1% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#e1de7b',
    500: '#cfd03b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd03b;
$custom-light: #e1de7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd03b",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 59
  },
  "hsl": {
    "h": 60.403,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83126,
    "c": 0.16274,
    "h": 109.9
  },
  "luminance": 0.58693
}

Semantic roles & 50–950 ramp

primary
#CFD03B
secondary
#33327D
accent
#43E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD03B

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

Preview Lab → · Contrast checker → · Palette generator →

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