#CFC070#CFC070

#CFC070 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.102 H 98.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CFC070
RGBrgb(207, 192, 112)
HSLhsl(51, 50%, 63%)
HSVhsv(51, 46%, 81%)
CMYKcmyk(0%, 7.2%, 45.9%, 18.8%)
CIE-LABlab(77.36, -5.62, 42.05)
CIE-LCHlch(77.36, 42.43, 97.61°)
OKLaboklab(80.29% -0.0159 0.1012)
OKLCHoklch(80.29% 0.102 98.9)
XYZxyz(47.5076, 52.1361, 22.8869)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC070 #707FCF
analogous
#CF9070 #CFC070 #AFCF70
triadic
#CFC070 #70CFC0 #C070CF
tetradic
#CFC070 #70CF90 #707FCF #CF70AF
square
#CFC070 #70CF90 #707FCF #CF70AF
split-complementary
#CFC070 #70AFCF #9070CF
monochromatic
#938431 #C0AC42 #CFC070 #DED49E #EEE8CC

Accessibility & contrast

On white

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

On black

11.43
#CFC070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC070
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC070#FFFFFF#000000##000000
##CFC0701.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc070;
/* rgb */ color: rgb(207, 192, 112);
/* oklch */ color: oklch(80.3% 0.102 98.9);
Tailwind
colors: {
  custom: {
    50: '#dfd29a',
    500: '#cfc070',
    950: '#000000',
  },
}
SCSS
$custom: #cfc070;
$custom-light: #dfd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc070",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 112
  },
  "hsl": {
    "h": 50.526,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80292,
    "c": 0.10246,
    "h": 98.9
  },
  "luminance": 0.52135
}

Semantic roles & 50–950 ramp

primary
#CFC070
secondary
#4A5799
accent
#40BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC070

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

Preview Lab → · Contrast checker → · Palette generator →

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