#CFCA77#CFCA77

#CFCA77 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.105 H 105.5°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CFCA77
RGBrgb(207, 202, 119)
HSLhsl(57, 48%, 64%)
HSVhsv(57, 43%, 81%)
CMYKcmyk(0%, 2.4%, 42.5%, 18.8%)
CIE-LABlab(80.09, -10.06, 41.95)
CIE-LCHlch(80.09, 43.14, 103.48°)
OKLaboklab(82.49% -0.0281 0.1014)
OKLCHoklch(82.49% 0.105 105.5)
XYZxyz(50.1834, 56.8396, 25.7768)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA77 #777CCF
analogous
#CF9E77 #CFCA77 #A8CF77
triadic
#CFCA77 #77CFCA #CA77CF
tetradic
#CFCA77 #77CF9E #777CCF #CF77A8
square
#CFCA77 #77CF9E #777CCF #CF77A8
split-complementary
#CFCA77 #77A8CF #9E77CF
monochromatic
#969135 #BFB84A #CFCA77 #DFDCA4 #EFEDD1

Accessibility & contrast

On white

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

On black

12.37
#CFCA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA77
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA77#FFFFFF#000000##000000
##CFCA771.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C470
Deuteranopia (green-blind)
#D9C87B
Tritanopia (blue-blind)
#DBC0B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca77;
/* rgb */ color: rgb(207, 202, 119);
/* oklch */ color: oklch(82.5% 0.105 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfda9f',
    500: '#cfca77',
    950: '#000000',
  },
}
SCSS
$custom: #cfca77;
$custom-light: #dfda9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca77",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 119
  },
  "hsl": {
    "h": 56.591,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82485,
    "c": 0.10523,
    "h": 105.5
  },
  "luminance": 0.56838
}

Semantic roles & 50–950 ramp

primary
#CFCA77
secondary
#4E529C
accent
#33BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCA77

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

Preview Lab → · Contrast checker → · Palette generator →

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