#CBC07B#CBC07B

#CBC07B is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.090 H 100.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CBC07B
RGBrgb(203, 192, 123)
HSLhsl(52, 43%, 64%)
HSVhsv(52, 39%, 80%)
CMYKcmyk(0%, 5.4%, 39.4%, 20.4%)
CIE-LABlab(77.18, -6.09, 36.16)
CIE-LCHlch(77.18, 36.67, 99.56°)
OKLaboklab(80.11% -0.0161 0.0885)
OKLCHoklch(80.11% 0.09 100.3)
XYZxyz(47.0543, 51.8272, 26.2600)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC07B #7B86CB
analogous
#CB987B #CBC07B #AECB7B
triadic
#CBC07B #7BCBC0 #C07BCB
tetradic
#CBC07B #7BCB98 #7B86CB #CB7BAE
square
#CBC07B #7BCB98 #7B86CB #CB7BAE
split-complementary
#CBC07B #7BAECB #987BCB
monochromatic
#92863A #BAAB4F #CBC07B #DCD5A7 #EEEAD3

Accessibility & contrast

On white

1.85
#CBC07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CBC07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC07B
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC07B#FFFFFF#000000##000000
##CBC07B1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC76
Deuteranopia (green-blind)
#D0C17E
Tritanopia (blue-blind)
#D6B7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc07b;
/* rgb */ color: rgb(203, 192, 123);
/* oklch */ color: oklch(80.1% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#dcd2a2',
    500: '#cbc07b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc07b;
$custom-light: #dcd2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc07b",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 123
  },
  "hsl": {
    "h": 51.75,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80114,
    "c": 0.08999,
    "h": 100.3
  },
  "luminance": 0.51826
}

Semantic roles & 50–950 ramp

primary
#CBC07B
secondary
#515B99
accent
#42B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC07B

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

Preview Lab → · Contrast checker → · Palette generator →

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