#CFC876#CFC876

#CFC876 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.104 H 104.2°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CFC876
RGBrgb(207, 200, 118)
HSLhsl(55, 48%, 64%)
HSVhsv(55, 43%, 81%)
CMYKcmyk(0%, 3.4%, 43%, 18.8%)
CIE-LABlab(79.55, -9.14, 41.77)
CIE-LCHlch(79.55, 42.76, 102.34°)
OKLaboklab(82.05% -0.0255 0.101)
OKLCHoklch(82.05% 0.104 104.2)
XYZxyz(49.6574, 55.8833, 25.3068)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC876 #767DCF
analogous
#CF9B76 #CFC876 #A9CF76
triadic
#CFC876 #76CFC8 #C876CF
tetradic
#CFC876 #76CF9B #767DCF #CF76A9
square
#CFC876 #76CF9B #767DCF #CF76A9
split-complementary
#CFC876 #76A9CF #9B76CF
monochromatic
#968E35 #BFB649 #CFC876 #DFDAA3 #EFECD1

Accessibility & contrast

On white

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

On black

12.18
#CFC876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC876
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC876#FFFFFF#000000##000000
##CFC8761.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C36F
Deuteranopia (green-blind)
#D8C77A
Tritanopia (blue-blind)
#DBBEB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc876;
/* rgb */ color: rgb(207, 200, 118);
/* oklch */ color: oklch(82.0% 0.104 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd89f',
    500: '#cfc876',
    950: '#000000',
  },
}
SCSS
$custom: #cfc876;
$custom-light: #dfd89f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc876",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 55.281,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8205,
    "c": 0.10413,
    "h": 104.2
  },
  "luminance": 0.55882
}

Semantic roles & 50–950 ramp

primary
#CFC876
secondary
#4D549C
accent
#36BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC876

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

Preview Lab → · Contrast checker → · Palette generator →

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