#CFCA70#CFCA70

#CFCA70 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.113 H 105.8°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CFCA70
RGBrgb(207, 202, 112)
HSLhsl(57, 50%, 63%)
HSVhsv(57, 46%, 81%)
CMYKcmyk(0%, 2.4%, 45.9%, 18.8%)
CIE-LABlab(80.00, -10.75, 45.30)
CIE-LCHlch(80.00, 46.56, 103.35°)
OKLaboklab(82.38% -0.0307 0.1085)
OKLCHoklch(82.38% 0.113 105.8)
XYZxyz(49.7784, 56.6776, 23.6438)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA70 #7075CF
analogous
#CF9A70 #CFCA70 #A5CF70
triadic
#CFCA70 #70CFCA #CA70CF
tetradic
#CFCA70 #70CF9A #7075CF #CF70A5
square
#CFCA70 #70CF9A #7075CF #CF70A5
split-complementary
#CFCA70 #70A5CF #9A70CF
monochromatic
#938E31 #C0B942 #CFCA70 #DEDB9E #EEECCC

Accessibility & contrast

On white

1.70
#CFCA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CFCA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA70
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA70#FFFFFF#000000##000000
##CFCA701.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C468
Deuteranopia (green-blind)
#DAC874
Tritanopia (blue-blind)
#DBC0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca70;
/* rgb */ color: rgb(207, 202, 112);
/* oklch */ color: oklch(82.4% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#dfda9b',
    500: '#cfca70',
    950: '#000000',
  },
}
SCSS
$custom: #cfca70;
$custom-light: #dfda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca70",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 112
  },
  "hsl": {
    "h": 56.842,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82383,
    "c": 0.11271,
    "h": 105.8
  },
  "luminance": 0.56676
}

Semantic roles & 50–950 ramp

primary
#CFCA70
secondary
#4A4E99
accent
#30BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA70

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

Preview Lab → · Contrast checker → · Palette generator →

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