#CBCA98#CBCA98

#CBCA98 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.066 H 106.8°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CBCA98
RGBrgb(203, 202, 152)
HSLhsl(59, 33%, 70%)
HSVhsv(59, 25%, 80%)
CMYKcmyk(0%, 0.5%, 25.1%, 20.4%)
CIE-LABlab(80.29, -7.66, 25.17)
CIE-LCHlch(80.29, 26.31, 106.93°)
OKLaboklab(82.74% -0.0192 0.0636)
OKLCHoklch(82.74% 0.066 106.8)
XYZxyz(51.4166, 57.2053, 38.0328)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA98 #9899CB
analogous
#CBB198 #CBCA98 #B2CB98
triadic
#CBCA98 #98CBCA #CA98CB
tetradic
#CBCA98 #98CBB1 #9899CB #CB98B2
square
#CBCA98 #98CBB1 #9899CB #CB98B2
split-complementary
#CBCA98 #98B2CB #B198CB
monochromatic
#9B994E #B6B56F #CBCA98 #E0DFC1 #F4F4E9

Accessibility & contrast

On white

1.69
#CBCA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#CBCA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA98
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA98#FFFFFF#000000##000000
##CBCA981.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C695
Deuteranopia (green-blind)
#D4C89A
Tritanopia (blue-blind)
#D3C4BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbca98;
/* rgb */ color: rgb(203, 202, 152);
/* oklch */ color: oklch(82.7% 0.066 106.8);
Tailwind
colors: {
  custom: {
    50: '#dbdab6',
    500: '#cbca98',
    950: '#000000',
  },
}
SCSS
$custom: #cbca98;
$custom-light: #dbdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca98",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 58.824,
    "s": 32.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.82742,
    "c": 0.06639,
    "h": 106.8
  },
  "luminance": 0.57205
}

Semantic roles & 50–950 ramp

primary
#CBCA98
secondary
#6768A0
accent
#3CAC3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CBCA98

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

Preview Lab → · Contrast checker → · Palette generator →

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