#CBCF98#CBCF98

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

Color values

HEX#CBCF98
RGBrgb(203, 207, 152)
HSLhsl(64, 36%, 70%)
HSVhsv(64, 27%, 81%)
CMYKcmyk(1.9%, 0%, 26.6%, 18.8%)
CIE-LABlab(81.61, -10.22, 26.96)
CIE-LCHlch(81.61, 28.83, 110.77°)
OKLaboklab(83.79% -0.0265 0.0678)
OKLCHoklch(83.79% 0.073 111.3)
XYZxyz(52.6088, 59.5897, 38.4302)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF98 #9C98CF
analogous
#CFB798 #CBCF98 #AFCF98
triadic
#CBCF98 #98CBCF #CF98CB
tetradic
#CBCF98 #98CFB7 #9C98CF #CF98AF
square
#CBCF98 #98CFB7 #9C98CF #CF98AF
split-complementary
#CBCF98 #98AFCF #B798CF
monochromatic
#9BA14B #B6BC6E #CBCF98 #E0E2C2 #F4F5EA

Accessibility & contrast

On white

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

On black

12.92
#CBCF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF98
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF98#FFFFFF#000000##000000
##CBCF981.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbcf98;
/* rgb */ color: rgb(203, 207, 152);
/* oklch */ color: oklch(83.8% 0.073 111.3);
Tailwind
colors: {
  custom: {
    50: '#dbddb6',
    500: '#cbcf98',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf98;
$custom-light: #dbddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf98",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 152
  },
  "hsl": {
    "h": 64.364,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83788,
    "c": 0.07284,
    "h": 111.3
  },
  "luminance": 0.59589
}

Semantic roles & 50–950 ramp

primary
#CBCF98
secondary
#6B67A5
accent
#36AF3F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBCF98

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

Preview Lab → · Contrast checker → · Palette generator →

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