#CBC08F#CBC08F

#CBC08F is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.066 H 97.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CBC08F
RGBrgb(203, 192, 143)
HSLhsl(49, 37%, 68%)
HSVhsv(49, 30%, 80%)
CMYKcmyk(0%, 5.4%, 29.6%, 20.4%)
CIE-LABlab(77.51, -3.67, 26.15)
CIE-LCHlch(77.51, 26.41, 98.00°)
OKLaboklab(80.48% -0.008 0.0657)
OKLCHoklch(80.48% 0.066 97)
XYZxyz(48.4366, 52.3801, 33.5401)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC08F #8F9ACB
analogous
#CBA28F #CBC08F #B8CB8F
triadic
#CBC08F #8FCBC0 #C08FCB
tetradic
#CBC08F #8FCBA2 #8F9ACB #CB8FB8
square
#CBC08F #8FCBA2 #8F9ACB #CB8FB8
split-complementary
#CBC08F #8FB8CB #A28FCB
monochromatic
#998A47 #B8A865 #CBC08F #DED8B9 #F2EFE3

Accessibility & contrast

On white

1.83
#CBC08F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CBC08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC08F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC08F#FFFFFF#000000##000000
##CBC08F1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD8C
Deuteranopia (green-blind)
#CDC191
Tritanopia (blue-blind)
#D4B9B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc08f;
/* rgb */ color: rgb(203, 192, 143);
/* oklch */ color: oklch(80.5% 0.066 97.0);
Tailwind
colors: {
  custom: {
    50: '#dbd2b0',
    500: '#cbc08f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc08f;
$custom-light: #dbd2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc08f",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 143
  },
  "hsl": {
    "h": 49,
    "s": 36.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.80483,
    "c": 0.06622,
    "h": 97
  },
  "luminance": 0.52379
}

Semantic roles & 50–950 ramp

primary
#CBC08F
secondary
#5F6AA0
accent
#4CAF36
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC08F

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

Preview Lab → · Contrast checker → · Palette generator →

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