#CFD03C#CFD03C

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

Color values

HEX#CFD03C
RGBrgb(207, 208, 60)
HSLhsl(60, 61%, 53%)
HSVhsv(60, 71%, 82%)
CMYKcmyk(0.5%, 0%, 71.2%, 18.4%)
CIE-LABlab(81.13, -17.45, 68.94)
CIE-LCHlch(81.13, 71.11, 104.21°)
OKLaboklab(83.13% -0.0551 0.1525)
OKLCHoklch(83.13% 0.162 109.8)
XYZxyz(49.1053, 58.7048, 13.0185)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD03C #3D3CD0
analogous
#D0873C #CFD03C #85D03C
triadic
#CFD03C #3CCFD0 #D03CCF
tetradic
#CFD03C #3CD087 #3D3CD0 #D03C85
square
#CFD03C #3CD087 #3D3CD0 #D03C85
split-complementary
#CFD03C #3C85D0 #873CD0
monochromatic
#75751C #A6A728 #CFD03C #DBDC6D #E7E89F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD03C#FFFFFF#000000##000000
##CFD03C1.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)
#E1C720
Deuteranopia (green-blind)
#E2CC47
Tritanopia (blue-blind)
#DEC3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfd03c;
/* rgb */ color: rgb(207, 208, 60);
/* oklch */ color: oklch(83.1% 0.162 109.8);
Tailwind
colors: {
  custom: {
    50: '#e1de7c',
    500: '#cfd03c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd03c;
$custom-light: #e1de7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd03c",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 60
  },
  "hsl": {
    "h": 60.405,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.83133,
    "c": 0.16215,
    "h": 109.8
  },
  "luminance": 0.58703
}

Semantic roles & 50–950 ramp

primary
#CFD03C
secondary
#33327E
accent
#44E445
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD03C

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

Preview Lab → · Contrast checker → · Palette generator →

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