#CFCB7F#CFCB7F

#CFCB7F is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.097 H 105.7°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CFCB7F
RGBrgb(207, 203, 127)
HSLhsl(57, 45%, 65%)
HSVhsv(57, 39%, 81%)
CMYKcmyk(0%, 1.9%, 38.6%, 18.8%)
CIE-LABlab(80.47, -9.71, 38.40)
CIE-LCHlch(80.47, 39.61, 104.20°)
OKLaboklab(82.82% -0.0264 0.0938)
OKLCHoklch(82.82% 0.097 105.7)
XYZxyz(50.9196, 57.5107, 28.4929)
Luminance0.5751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB7F #7F83CF
analogous
#CFA37F #CFCB7F #ABCF7F
triadic
#CFCB7F #7FCFCB #CB7FCF
tetradic
#CFCB7F #7FCFA3 #7F83CF #CF7FAB
square
#CFCB7F #7FCFA3 #7F83CF #CF7FAB
split-complementary
#CFCB7F #7FABCF #A37FCF
monochromatic
#9A953A #BEB952 #CFCB7F #E0DDAC #F0EFD8

Accessibility & contrast

On white

1.68
#CFCB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CFCB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB7F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB7F#FFFFFF#000000##000000
##CFCB7F1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C679
Deuteranopia (green-blind)
#D9C982
Tritanopia (blue-blind)
#DAC2B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcb7f;
/* rgb */ color: rgb(207, 203, 127);
/* oklch */ color: oklch(82.8% 0.097 105.7);
Tailwind
colors: {
  custom: {
    50: '#dfdaa5',
    500: '#cfcb7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb7f;
$custom-light: #dfdaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb7f",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 127
  },
  "hsl": {
    "h": 57,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82821,
    "c": 0.09745,
    "h": 105.7
  },
  "luminance": 0.5751
}

Semantic roles & 50–950 ramp

primary
#CFCB7F
secondary
#5356A0
accent
#34B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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