#CBCD98#CBCD98

#CBCD98 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.070 H 109.6°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CBCD98
RGBrgb(203, 205, 152)
HSLhsl(62, 35%, 70%)
HSVhsv(62, 26%, 80%)
CMYKcmyk(1%, 0%, 25.9%, 19.6%)
CIE-LABlab(81.09, -9.20, 26.25)
CIE-LCHlch(81.09, 27.81, 109.32°)
OKLaboklab(83.37% -0.0236 0.0661)
OKLCHoklch(83.37% 0.07 109.6)
XYZxyz(52.1274, 58.6268, 38.2697)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCD98 #9A98CD
analogous
#CDB498 #CBCD98 #B1CD98
triadic
#CBCD98 #98CBCD #CD98CB
tetradic
#CBCD98 #98CDB4 #9A98CD #CD98B1
square
#CBCD98 #98CDB4 #9A98CD #CD98B1
split-complementary
#CBCD98 #98B1CD #B498CD
monochromatic
#9B9E4D #B6B96F #CBCD98 #E0E1C1 #F5F5EA

Accessibility & contrast

On white

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

On black

12.73
#CBCD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCD98
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCD98#FFFFFF#000000##000000
##CBCD981.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C895
Deuteranopia (green-blind)
#D6CA9A
Tritanopia (blue-blind)
#D2C6BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbcd98;
/* rgb */ color: rgb(203, 205, 152);
/* oklch */ color: oklch(83.4% 0.070 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbdcb6',
    500: '#cbcd98',
    950: '#000000',
  },
}
SCSS
$custom: #cbcd98;
$custom-light: #dbdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcd98",
  "rgb": {
    "r": 203,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 62.264,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.83369,
    "c": 0.07021,
    "h": 109.6
  },
  "luminance": 0.58626
}

Semantic roles & 50–950 ramp

primary
#CBCD98
secondary
#6967A2
accent
#38AD3C
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBCD98

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

Preview Lab → · Contrast checker → · Palette generator →

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