#CBC37F#CBC37F

#CBC37F is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.089 H 102.4°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CBC37F
RGBrgb(203, 195, 127)
HSLhsl(54, 42%, 65%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.9%, 37.4%, 20.4%)
CIE-LABlab(78.03, -7.19, 35.20)
CIE-LCHlch(78.03, 35.92, 101.55°)
OKLaboklab(80.81% -0.019 0.0865)
OKLCHoklch(80.81% 0.089 102.4)
XYZxyz(47.9752, 53.2602, 27.8276)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC37F #7F87CB
analogous
#CB9D7F #CBC37F #ADCB7F
triadic
#CBC37F #7FCBC3 #C37FCB
tetradic
#CBC37F #7FCB9D #7F87CB #CB7FAD
square
#CBC37F #7FCB9D #7F87CB #CB7FAD
split-complementary
#CBC37F #7FADCB #9D7FCB
monochromatic
#948A3C #B9AF53 #CBC37F #DDD7AB #EEECD6

Accessibility & contrast

On white

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

On black

11.65
#CBC37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC37F
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC37F#FFFFFF#000000##000000
##CBC37F1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7A
Deuteranopia (green-blind)
#D1C382
Tritanopia (blue-blind)
#D6BAB2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc37f;
/* rgb */ color: rgb(203, 195, 127);
/* oklch */ color: oklch(80.8% 0.089 102.4);
Tailwind
colors: {
  custom: {
    50: '#dcd5a5',
    500: '#cbc37f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc37f;
$custom-light: #dcd5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc37f",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 127
  },
  "hsl": {
    "h": 53.684,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80808,
    "c": 0.08856,
    "h": 102.4
  },
  "luminance": 0.53259
}

Semantic roles & 50–950 ramp

primary
#CBC37F
secondary
#545B9A
accent
#3EB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC37F

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

Preview Lab → · Contrast checker → · Palette generator →

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