#CBC37C#CBC37C

#CBC37C is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.092 H 102.7°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CBC37C
RGBrgb(203, 195, 124)
HSLhsl(54, 43%, 64%)
HSVhsv(54, 39%, 80%)
CMYKcmyk(0%, 3.9%, 38.9%, 20.4%)
CIE-LABlab(77.98, -7.53, 36.68)
CIE-LCHlch(77.98, 37.44, 101.60°)
OKLaboklab(80.76% -0.0202 0.0898)
OKLCHoklch(80.76% 0.092 102.7)
XYZxyz(47.7826, 53.1832, 26.8132)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC37C #7C84CB
analogous
#CB9C7C #CBC37C #ACCB7C
triadic
#CBC37C #7CCBC3 #C37CCB
tetradic
#CBC37C #7CCB9C #7C84CB #CB7CAC
square
#CBC37C #7CCB9C #7C84CB #CB7CAC
split-complementary
#CBC37C #7CACCB #9C7CCB
monochromatic
#928A3A #BAAF50 #CBC37C #DCD7A8 #EEEBD4

Accessibility & contrast

On white

1.80
#CBC37C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CBC37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC37C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC37C#FFFFFF#000000##000000
##CBC37C1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE77
Deuteranopia (green-blind)
#D2C37F
Tritanopia (blue-blind)
#D6BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc37c;
/* rgb */ color: rgb(203, 195, 124);
/* oklch */ color: oklch(80.8% 0.092 102.7);
Tailwind
colors: {
  custom: {
    50: '#dcd5a3',
    500: '#cbc37c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc37c;
$custom-light: #dcd5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc37c",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 124
  },
  "hsl": {
    "h": 53.924,
    "s": 43.169,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80758,
    "c": 0.09201,
    "h": 102.7
  },
  "luminance": 0.53182
}

Semantic roles & 50–950 ramp

primary
#CBC37C
secondary
#525999
accent
#3DB62F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC37C

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

Preview Lab → · Contrast checker → · Palette generator →

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