#CFC970#CFC970

#CFC970 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.112 H 105.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CFC970
RGBrgb(207, 201, 112)
HSLhsl(56, 50%, 63%)
HSVhsv(56, 46%, 81%)
CMYKcmyk(0%, 2.9%, 45.9%, 18.8%)
CIE-LABlab(79.73, -10.24, 44.98)
CIE-LCHlch(79.73, 46.13, 102.83°)
OKLaboklab(82.17% -0.0292 0.1077)
OKLCHoklch(82.17% 0.112 105.2)
XYZxyz(49.5445, 56.2099, 23.5658)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC970 #7076CF
analogous
#CF9A70 #CFC970 #A5CF70
triadic
#CFC970 #70CFC9 #C970CF
tetradic
#CFC970 #70CF9A #7076CF #CF70A5
square
#CFC970 #70CF9A #7076CF #CF70A5
split-complementary
#CFC970 #70A5CF #9A70CF
monochromatic
#938D31 #C0B842 #CFC970 #DEDA9E #EEECCC

Accessibility & contrast

On white

1.72
#CFC970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CFC970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC970
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC970#FFFFFF#000000##000000
##CFC9701.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C369
Deuteranopia (green-blind)
#D9C874
Tritanopia (blue-blind)
#DBBFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfc970;
/* rgb */ color: rgb(207, 201, 112);
/* oklch */ color: oklch(82.2% 0.112 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd99b',
    500: '#cfc970',
    950: '#000000',
  },
}
SCSS
$custom: #cfc970;
$custom-light: #dfd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc970",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 56.211,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82172,
    "c": 0.11163,
    "h": 105.2
  },
  "luminance": 0.56209
}

Semantic roles & 50–950 ramp

primary
#CFC970
secondary
#4A4F99
accent
#32BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC970

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

Preview Lab → · Contrast checker → · Palette generator →

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