#CBC937#CBC937

#CBC937 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.159 H 108.7°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CBC937
RGBrgb(203, 201, 55)
HSLhsl(59, 59%, 51%)
HSVhsv(59, 73%, 80%)
CMYKcmyk(0%, 1%, 72.9%, 20.4%)
CIE-LABlab(78.90, -15.88, 68.40)
CIE-LCHlch(78.90, 70.22, 103.07°)
OKLaboklab(81.26% -0.0509 0.1507)
OKLCHoklch(81.26% 0.159 108.7)
XYZxyz(46.2066, 54.7471, 11.7469)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC937 #3739CB
analogous
#CB7F37 #CBC937 #83CB37
triadic
#CBC937 #37CBC9 #C937CB
tetradic
#CBC937 #37CB7F #3739CB #CB3783
square
#CBC937 #37CB7F #3739CB #CB3783
split-complementary
#CBC937 #3783CB #7F37CB
monochromatic
#6C6B1C #9C9B29 #CBC937 #D8D668 #E4E398

Accessibility & contrast

On white

1.76
#CBC937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CBC937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC937
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC937#FFFFFF#000000##000000
##CBC9371.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC119
Deuteranopia (green-blind)
#DCC642
Tritanopia (blue-blind)
#DABCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc937;
/* rgb */ color: rgb(203, 201, 55);
/* oklch */ color: oklch(81.3% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfd978',
    500: '#cbc937',
    950: '#000000',
  },
}
SCSS
$custom: #cbc937;
$custom-light: #dfd978;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc937",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 55
  },
  "hsl": {
    "h": 59.189,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81261,
    "c": 0.15902,
    "h": 108.7
  },
  "luminance": 0.54746
}

Semantic roles & 50–950 ramp

primary
#CBC937
secondary
#313275
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC937

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

Preview Lab → · Contrast checker → · Palette generator →

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