#CFC072#CFC072

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

Color values

HEX#CFC072
RGBrgb(207, 192, 114)
HSLhsl(50, 49%, 63%)
HSVhsv(50, 45%, 81%)
CMYKcmyk(0%, 7.2%, 44.9%, 18.8%)
CIE-LABlab(77.39, -5.42, 41.08)
CIE-LCHlch(77.39, 41.44, 97.52°)
OKLaboklab(80.32% -0.0151 0.0992)
OKLCHoklch(80.32% 0.1 98.7)
XYZxyz(47.6202, 52.1812, 23.4799)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC072 #7281CF
analogous
#CF9272 #CFC072 #AFCF72
triadic
#CFC072 #72CFC0 #C072CF
tetradic
#CFC072 #72CF92 #7281CF #CF72AF
square
#CFC072 #72CF92 #7281CF #CF72AF
split-complementary
#CFC072 #72AFCF #9272CF
monochromatic
#948432 #BFAC44 #CFC072 #DFD4A0 #EEE9CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC072#FFFFFF#000000##000000
##CFC0721.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)
#CEBC6C
Deuteranopia (green-blind)
#D2C275
Tritanopia (blue-blind)
#DCB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc072;
/* rgb */ color: rgb(207, 192, 114);
/* oklch */ color: oklch(80.3% 0.100 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfd29c',
    500: '#cfc072',
    950: '#000000',
  },
}
SCSS
$custom: #cfc072;
$custom-light: #dfd29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc072",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 114
  },
  "hsl": {
    "h": 50.323,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80322,
    "c": 0.10032,
    "h": 98.7
  },
  "luminance": 0.5218
}

Semantic roles & 50–950 ramp

primary
#CFC072
secondary
#4B589A
accent
#41BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC072

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

Preview Lab → · Contrast checker → · Palette generator →

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