#CBC55F#CBC55F

#CBC55F is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.125 H 105.8°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CBC55F
RGBrgb(203, 197, 95)
HSLhsl(57, 51%, 58%)
HSVhsv(57, 53%, 80%)
CMYKcmyk(0%, 3%, 53.2%, 20.4%)
CIE-LABlab(78.14, -11.36, 51.18)
CIE-LCHlch(78.14, 52.42, 102.51°)
OKLaboklab(80.77% -0.0339 0.1199)
OKLCHoklch(80.77% 0.125 105.8)
XYZxyz(46.6617, 53.4566, 18.6844)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC55F #5F65CB
analogous
#CB8F5F #CBC55F #9BCB5F
triadic
#CBC55F #5FCBC5 #C55FCB
tetradic
#CBC55F #5FCB8F #5F65CB #CB5F9B
square
#CBC55F #5FCB8F #5F65CB #CB5F9B
split-complementary
#CBC55F #5F9BCB #8F5FCB
monochromatic
#85802B #B3AC3A #CBC55F #DAD68D #E9E6BB

Accessibility & contrast

On white

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

On black

11.69
#CBC55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC55F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC55F#FFFFFF#000000##000000
##CBC55F1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#D6C364
Tritanopia (blue-blind)
#D8BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc55f;
/* rgb */ color: rgb(203, 197, 95);
/* oklch */ color: oklch(80.8% 0.125 105.8);
Tailwind
colors: {
  custom: {
    50: '#ddd68f',
    500: '#cbc55f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc55f;
$custom-light: #ddd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc55f",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 56.667,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80765,
    "c": 0.12459,
    "h": 105.8
  },
  "luminance": 0.53455
}

Semantic roles & 50–950 ramp

primary
#CBC55F
secondary
#42468C
accent
#55DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC55F

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

Preview Lab → · Contrast checker → · Palette generator →

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