#CBC07D#CBC07D

#CBC07D is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.088 H 100.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CBC07D
RGBrgb(203, 192, 125)
HSLhsl(52, 43%, 64%)
HSVhsv(52, 38%, 80%)
CMYKcmyk(0%, 5.4%, 38.4%, 20.4%)
CIE-LABlab(77.21, -5.86, 35.17)
CIE-LCHlch(77.21, 35.65, 99.47°)
OKLaboklab(80.15% -0.0153 0.0863)
OKLCHoklch(80.15% 0.088 100.1)
XYZxyz(47.1807, 51.8778, 26.9261)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC07D #7D88CB
analogous
#CB997D #CBC07D #AFCB7D
triadic
#CBC07D #7DCBC0 #C07DCB
tetradic
#CBC07D #7DCB99 #7D88CB #CB7DAF
square
#CBC07D #7DCB99 #7D88CB #CB7DAF
split-complementary
#CBC07D #7DAFCB #997DCB
monochromatic
#93863B #BAAB51 #CBC07D #DCD5A9 #EEEAD4

Accessibility & contrast

On white

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

On black

11.38
#CBC07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC07D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC07D#FFFFFF#000000##000000
##CBC07D1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc07d;
/* rgb */ color: rgb(203, 192, 125);
/* oklch */ color: oklch(80.1% 0.088 100.1);
Tailwind
colors: {
  custom: {
    50: '#dcd2a3',
    500: '#cbc07d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc07d;
$custom-light: #dcd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc07d",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 125
  },
  "hsl": {
    "h": 51.538,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80148,
    "c": 0.08769,
    "h": 100.1
  },
  "luminance": 0.51876
}

Semantic roles & 50–950 ramp

primary
#CBC07D
secondary
#535D9A
accent
#42B630
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC07D

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

Preview Lab → · Contrast checker → · Palette generator →

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