#CFC73F#CFC73F

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

Color values

HEX#CFC73F
RGBrgb(207, 199, 63)
HSLhsl(57, 60%, 53%)
HSVhsv(57, 70%, 81%)
CMYKcmyk(0%, 3.9%, 69.6%, 18.8%)
CIE-LABlab(78.74, -12.81, 65.52)
CIE-LCHlch(78.74, 66.76, 101.06°)
OKLaboklab(81.23% -0.0417 0.1458)
OKLCHoklch(81.23% 0.152 106)
XYZxyz(47.0546, 54.4728, 12.7373)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC73F #3F47CF
analogous
#CF7F3F #CFC73F #8FCF3F
triadic
#CFC73F #3FCFC7 #C73FCF
tetradic
#CFC73F #3FCF7F #3F47CF #CF3F8F
square
#CFC73F #3FCF7F #3F47CF #CF3F8F
split-complementary
#CFC73F #3F8FCF #7F3FCF
monochromatic
#76711E #A7A02A #CFC73F #DBD570 #E7E4A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC73F#FFFFFF#000000##000000
##CFC73F1.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)
#D8C029
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#DEBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc73f;
/* rgb */ color: rgb(207, 199, 63);
/* oklch */ color: oklch(81.2% 0.152 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d77c',
    500: '#cfc73f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc73f;
$custom-light: #e1d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc73f",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 63
  },
  "hsl": {
    "h": 56.667,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8123,
    "c": 0.15168,
    "h": 106
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#CFC73F
secondary
#34387F
accent
#4DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC73F

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

Preview Lab → · Contrast checker → · Palette generator →

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