#CFC073#CFC073

#CFC073 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.099 H 98.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CFC073
RGBrgb(207, 192, 115)
HSLhsl(50, 49%, 63%)
HSVhsv(50, 44%, 81%)
CMYKcmyk(0%, 7.2%, 44.4%, 18.8%)
CIE-LABlab(77.40, -5.32, 40.59)
CIE-LCHlch(77.40, 40.94, 97.47°)
OKLaboklab(80.34% -0.0148 0.0981)
OKLCHoklch(80.34% 0.099 98.6)
XYZxyz(47.6775, 52.2041, 23.7813)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC073 #7382CF
analogous
#CF9273 #CFC073 #B0CF73
triadic
#CFC073 #73CFC0 #C073CF
tetradic
#CFC073 #73CF92 #7382CF #CF73B0
square
#CFC073 #73CF92 #7382CF #CF73B0
split-complementary
#CFC073 #73B0CF #9273CF
monochromatic
#958533 #BFAB45 #CFC073 #DFD5A1 #EEE9CE

Accessibility & contrast

On white

1.84
#CFC073 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CFC073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC073
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC073#FFFFFF#000000##000000
##CFC0731.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6D
Deuteranopia (green-blind)
#D2C276
Tritanopia (blue-blind)
#DCB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc073;
/* rgb */ color: rgb(207, 192, 115);
/* oklch */ color: oklch(80.3% 0.099 98.6);
Tailwind
colors: {
  custom: {
    50: '#dfd29c',
    500: '#cfc073',
    950: '#000000',
  },
}
SCSS
$custom: #cfc073;
$custom-light: #dfd29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc073",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 115
  },
  "hsl": {
    "h": 50.217,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.80337,
    "c": 0.09925,
    "h": 98.6
  },
  "luminance": 0.52202
}

Semantic roles & 50–950 ramp

primary
#CFC073
secondary
#4C599B
accent
#41BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC073

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

Preview Lab → · Contrast checker → · Palette generator →

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