#CFCD83#CFCD83

#CFCD83 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.095 H 107.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CFCD83
RGBrgb(207, 205, 131)
HSLhsl(58, 44%, 66%)
HSVhsv(58, 37%, 81%)
CMYKcmyk(0%, 1%, 36.7%, 18.8%)
CIE-LABlab(81.05, -10.29, 37.12)
CIE-LCHlch(81.05, 38.52, 105.49°)
OKLaboklab(83.31% -0.0278 0.0911)
OKLCHoklch(83.31% 0.095 107)
XYZxyz(51.6608, 58.5678, 30.0516)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD83 #8385CF
analogous
#CFA783 #CFCD83 #ABCF83
triadic
#CFCD83 #83CFCD #CD83CF
tetradic
#CFCD83 #83CFA7 #8385CF #CF83AB
square
#CFCD83 #83CFA7 #8385CF #CF83AB
split-complementary
#CFCD83 #83ABCF #A783CF
monochromatic
#9B993C #BEBB57 #CFCD83 #E0DFAF #F1F1DB

Accessibility & contrast

On white

1.65
#CFCD83 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CFCD83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD83
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD83#FFFFFF#000000##000000
##CFCD831.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77E
Deuteranopia (green-blind)
#DACB86
Tritanopia (blue-blind)
#D9C4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd83;
/* rgb */ color: rgb(207, 205, 131);
/* oklch */ color: oklch(83.3% 0.095 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfdca8',
    500: '#cfcd83',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd83;
$custom-light: #dfdca8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd83",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 131
  },
  "hsl": {
    "h": 58.421,
    "s": 44.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83306,
    "c": 0.0952,
    "h": 107
  },
  "luminance": 0.58567
}

Semantic roles & 50–950 ramp

primary
#CFCD83
secondary
#5557A1
accent
#32B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD83

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

Preview Lab → · Contrast checker → · Palette generator →

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