#CBCE97#CBCE97

#CBCE97 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.073 H 110.5°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CBCE97
RGBrgb(203, 206, 151)
HSLhsl(63, 36%, 70%)
HSVhsv(63, 27%, 81%)
CMYKcmyk(1.5%, 0%, 26.7%, 19.2%)
CIE-LABlab(81.33, -9.85, 27.10)
CIE-LCHlch(81.33, 28.84, 109.97°)
OKLaboklab(83.56% -0.0255 0.0682)
OKLCHoklch(83.56% 0.073 110.5)
XYZxyz(52.2858, 59.0741, 37.9202)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCE97 #9A97CE
analogous
#CEB697 #CBCE97 #AFCE97
triadic
#CBCE97 #97CBCE #CE97CB
tetradic
#CBCE97 #97CEB6 #9A97CE #CE97AF
square
#CBCE97 #97CEB6 #9A97CE #CE97AF
split-complementary
#CBCE97 #97AFCE #B697CE
monochromatic
#9B9F4B #B6BA6D #CBCE97 #E0E2C1 #F5F5EA

Accessibility & contrast

On white

1.64
#CBCE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#CBCE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCE97
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCE97#FFFFFF#000000##000000
##CBCE971.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C993
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#D2C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbce97;
/* rgb */ color: rgb(203, 206, 151);
/* oklch */ color: oklch(83.6% 0.073 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbdcb6',
    500: '#cbce97',
    950: '#000000',
  },
}
SCSS
$custom: #cbce97;
$custom-light: #dbdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbce97",
  "rgb": {
    "r": 203,
    "g": 206,
    "b": 151
  },
  "hsl": {
    "h": 63.273,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.83558,
    "c": 0.07277,
    "h": 110.5
  },
  "luminance": 0.59073
}

Semantic roles & 50–950 ramp

primary
#CBCE97
secondary
#6966A3
accent
#37AF3D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBCE97

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

Preview Lab → · Contrast checker → · Palette generator →

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