#CBCF97#CBCF97

#CBCF97 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.074 H 111.3°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CBCF97
RGBrgb(203, 207, 151)
HSLhsl(64, 37%, 70%)
HSVhsv(64, 27%, 81%)
CMYKcmyk(1.9%, 0%, 27.1%, 18.8%)
CIE-LABlab(81.60, -10.36, 27.46)
CIE-LCHlch(81.60, 29.35, 110.67°)
OKLaboklab(83.77% -0.0269 0.069)
OKLCHoklch(83.77% 0.074 111.3)
XYZxyz(52.5273, 59.5571, 38.0007)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF97 #9B97CF
analogous
#CFB797 #CBCF97 #AFCF97
triadic
#CBCF97 #97CBCF #CF97CB
tetradic
#CBCF97 #97CFB7 #9B97CF #CF97AF
square
#CBCF97 #97CFB7 #9B97CF #CF97AF
split-complementary
#CBCF97 #97AFCF #B797CF
monochromatic
#9BA14A #B6BC6D #CBCF97 #E0E2C1 #F5F5EA

Accessibility & contrast

On white

1.63
#CBCF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CBCF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF97
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF97#FFFFFF#000000##000000
##CBCF971.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA93
Deuteranopia (green-blind)
#D8CC99
Tritanopia (blue-blind)
#D2C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbcf97;
/* rgb */ color: rgb(203, 207, 151);
/* oklch */ color: oklch(83.8% 0.074 111.3);
Tailwind
colors: {
  custom: {
    50: '#dbddb6',
    500: '#cbcf97',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf97;
$custom-light: #dbddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf97",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 64.286,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83768,
    "c": 0.07408,
    "h": 111.3
  },
  "luminance": 0.59557
}

Semantic roles & 50–950 ramp

primary
#CBCF97
secondary
#6A66A5
accent
#36B03E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBCF97

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

Preview Lab → · Contrast checker → · Palette generator →

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