#CFC73C#CFC73C

#CFC73C is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.154 H 106.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CFC73C
RGBrgb(207, 199, 60)
HSLhsl(57, 60%, 52%)
HSVhsv(57, 71%, 81%)
CMYKcmyk(0%, 3.9%, 71%, 18.8%)
CIE-LABlab(78.72, -12.95, 66.60)
CIE-LCHlch(78.72, 67.85, 101.01°)
OKLaboklab(81.21% -0.0424 0.1476)
OKLCHoklch(81.21% 0.154 106)
XYZxyz(46.9730, 54.4402, 12.3078)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC73C #3C44CF
analogous
#CF7E3C #CFC73C #8DCF3C
triadic
#CFC73C #3CCFC7 #C73CCF
tetradic
#CFC73C #3CCF7E #3C44CF #CF3C8D
square
#CFC73C #3CCF7E #3C44CF #CF3C8D
split-complementary
#CFC73C #3C8DCF #7E3CCF
monochromatic
#746F1D #A59E29 #CFC73C #DBD56D #E7E39E

Accessibility & contrast

On white

1.77
#CFC73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CFC73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC73C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC73C#FFFFFF#000000##000000
##CFC73C1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C024
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#DEBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc73c;
/* rgb */ color: rgb(207, 199, 60);
/* oklch */ color: oklch(81.2% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d77b',
    500: '#cfc73c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc73c;
$custom-light: #e1d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc73c",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 56.735,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81209,
    "c": 0.15357,
    "h": 106
  },
  "luminance": 0.54438
}

Semantic roles & 50–950 ramp

primary
#CFC73C
secondary
#33377D
accent
#4DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC73C

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

Preview Lab → · Contrast checker → · Palette generator →

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