#CFC670#CFC670

#CFC670 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.108 H 103.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CFC670
RGBrgb(207, 198, 112)
HSLhsl(54, 50%, 63%)
HSVhsv(54, 46%, 81%)
CMYKcmyk(0%, 4.3%, 45.9%, 18.8%)
CIE-LABlab(78.94, -8.71, 44.00)
CIE-LCHlch(78.94, 44.86, 101.20°)
OKLaboklab(81.54% -0.0248 0.1056)
OKLCHoklch(81.54% 0.108 103.2)
XYZxyz(48.8520, 54.8249, 23.3350)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC670 #7079CF
analogous
#CF9770 #CFC670 #A8CF70
triadic
#CFC670 #70CFC6 #C670CF
tetradic
#CFC670 #70CF97 #7079CF #CF70A8
square
#CFC670 #70CF97 #7079CF #CF70A8
split-complementary
#CFC670 #70A8CF #9770CF
monochromatic
#938A31 #C0B442 #CFC670 #DED89E #EEEBCC

Accessibility & contrast

On white

1.76
#CFC670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CFC670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC670
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC670#FFFFFF#000000##000000
##CFC6701.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc670;
/* rgb */ color: rgb(207, 198, 112);
/* oklch */ color: oklch(81.5% 0.108 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd79b',
    500: '#cfc670',
    950: '#000000',
  },
}
SCSS
$custom: #cfc670;
$custom-light: #dfd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc670",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 54.316,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81543,
    "c": 0.10844,
    "h": 103.2
  },
  "luminance": 0.54823
}

Semantic roles & 50–950 ramp

primary
#CFC670
secondary
#4A5299
accent
#37BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC670

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

Preview Lab → · Contrast checker → · Palette generator →

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