#CFD73F#CFD73F

#CFD73F is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.167 H 112.5°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#CFD73F
RGBrgb(207, 215, 63)
HSLhsl(63, 66%, 55%)
HSVhsv(63, 71%, 84%)
CMYKcmyk(3.7%, 0%, 70.7%, 15.7%)
CIE-LABlab(83.03, -20.75, 69.73)
CIE-LCHlch(83.03, 72.75, 106.57°)
OKLaboklab(84.66% -0.064 0.1547)
OKLCHoklch(84.66% 0.167 112.5)
XYZxyz(50.9314, 62.2263, 14.0296)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD73F #473FD7
analogous
#D7933F #CFD73F #83D73F
triadic
#CFD73F #3FCFD7 #D73FCF
tetradic
#CFD73F #3FD793 #473FD7 #D73F83
square
#CFD73F #3FD793 #473FD7 #D73F83
split-complementary
#CFD73F #3F83D7 #933FD7
monochromatic
#7B811B #ACB325 #CFD73F #DCE272 #E8ECA4

Accessibility & contrast

On white

1.56
#CFD73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#CFD73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD73F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD73F#FFFFFF#000000##000000
##CFD73F1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD23
Deuteranopia (green-blind)
#E7D04B
Tritanopia (blue-blind)
#DDCAB9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd73f;
/* rgb */ color: rgb(207, 215, 63);
/* oklch */ color: oklch(84.7% 0.167 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e37e',
    500: '#cfd73f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd73f;
$custom-light: #e1e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd73f",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 63
  },
  "hsl": {
    "h": 63.158,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84661,
    "c": 0.16743,
    "h": 112.5
  },
  "luminance": 0.62225
}

Semantic roles & 50–950 ramp

primary
#CFD73F
secondary
#373288
accent
#3FE848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD73F

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

Preview Lab → · Contrast checker → · Palette generator →

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