#CFC770#CFC770

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

Color values

HEX#CFC770
RGBrgb(207, 199, 112)
HSLhsl(55, 50%, 63%)
HSVhsv(55, 46%, 81%)
CMYKcmyk(0%, 3.9%, 45.9%, 18.8%)
CIE-LABlab(79.20, -9.22, 44.33)
CIE-LCHlch(79.20, 45.28, 101.75°)
OKLaboklab(81.75% -0.0263 0.1063)
OKLCHoklch(81.75% 0.109 103.9)
XYZxyz(49.0813, 55.2835, 23.4114)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC770 #7078CF
analogous
#CF9770 #CFC770 #A8CF70
triadic
#CFC770 #70CFC7 #C770CF
tetradic
#CFC770 #70CF97 #7078CF #CF70A8
square
#CFC770 #70CF97 #7078CF #CF70A8
split-complementary
#CFC770 #70A8CF #9770CF
monochromatic
#938B31 #C0B542 #CFC770 #DED99E #EEEBCC

Accessibility & contrast

On white

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

On black

12.06
#CFC770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC770
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC770#FFFFFF#000000##000000
##CFC7701.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C269
Deuteranopia (green-blind)
#D8C674
Tritanopia (blue-blind)
#DBBDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc770;
/* rgb */ color: rgb(207, 199, 112);
/* oklch */ color: oklch(81.8% 0.109 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd79b',
    500: '#cfc770',
    950: '#000000',
  },
}
SCSS
$custom: #cfc770;
$custom-light: #dfd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc770",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 54.947,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81752,
    "c": 0.10949,
    "h": 103.9
  },
  "luminance": 0.55282
}

Semantic roles & 50–950 ramp

primary
#CFC770
secondary
#4A5199
accent
#35BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC770

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

Preview Lab → · Contrast checker → · Palette generator →

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