#CFC772#CFC772

#CFC772 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.107 H 103.8°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CFC772
RGBrgb(207, 199, 114)
HSLhsl(55, 49%, 63%)
HSVhsv(55, 45%, 81%)
CMYKcmyk(0%, 3.9%, 44.9%, 18.8%)
CIE-LABlab(79.23, -9.03, 43.37)
CIE-LCHlch(79.23, 44.30, 101.76°)
OKLaboklab(81.78% -0.0255 0.1043)
OKLCHoklch(81.78% 0.107 103.8)
XYZxyz(49.1939, 55.3285, 24.0044)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC772 #727ACF
analogous
#CF9972 #CFC772 #A8CF72
triadic
#CFC772 #72CFC7 #C772CF
tetradic
#CFC772 #72CF99 #727ACF #CF72A8
square
#CFC772 #72CF99 #727ACF #CF72A8
split-complementary
#CFC772 #72A8CF #9972CF
monochromatic
#948C32 #BFB544 #CFC772 #DFD9A0 #EEEBCD

Accessibility & contrast

On white

1.74
#CFC772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CFC772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC772
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC772#FFFFFF#000000##000000
##CFC7721.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C26B
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#DBBDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc772;
/* rgb */ color: rgb(207, 199, 114);
/* oklch */ color: oklch(81.8% 0.107 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd79c',
    500: '#cfc772',
    950: '#000000',
  },
}
SCSS
$custom: #cfc772;
$custom-light: #dfd79c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc772",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 54.839,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.10737,
    "h": 103.8
  },
  "luminance": 0.55327
}

Semantic roles & 50–950 ramp

primary
#CFC772
secondary
#4B529A
accent
#36BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC772

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

Preview Lab → · Contrast checker → · Palette generator →

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