#CBC05F#CBC05F

#CBC05F is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.120 H 102.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CBC05F
RGBrgb(203, 192, 95)
HSLhsl(54, 51%, 58%)
HSVhsv(54, 53%, 80%)
CMYKcmyk(0%, 5.4%, 53.2%, 20.4%)
CIE-LABlab(76.81, -8.80, 49.63)
CIE-LCHlch(76.81, 50.40, 100.05°)
OKLaboklab(79.71% -0.0266 0.1165)
OKLCHoklch(79.71% 0.12 102.9)
XYZxyz(45.5452, 51.2236, 18.3123)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC05F #5F6ACB
analogous
#CB8A5F #CBC05F #A0CB5F
triadic
#CBC05F #5FCBC0 #C05FCB
tetradic
#CBC05F #5FCB8A #5F6ACB #CB5FA0
square
#CBC05F #5FCB8A #5F6ACB #CB5FA0
split-complementary
#CBC05F #5FA0CB #8A5FCB
monochromatic
#857B2B #B3A63A #CBC05F #DAD28D #E9E4BB

Accessibility & contrast

On white

1.87
#CBC05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#CBC05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC05F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC05F#FFFFFF#000000##000000
##CBC05F1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D2C064
Tritanopia (blue-blind)
#D8B5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc05f;
/* rgb */ color: rgb(203, 192, 95);
/* oklch */ color: oklch(79.7% 0.120 102.9);
Tailwind
colors: {
  custom: {
    50: '#ddd28f',
    500: '#cbc05f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc05f;
$custom-light: #ddd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc05f",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 53.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79709,
    "c": 0.11953,
    "h": 102.9
  },
  "luminance": 0.51222
}

Semantic roles & 50–950 ramp

primary
#CBC05F
secondary
#424A8C
accent
#5CDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC05F

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

Preview Lab → · Contrast checker → · Palette generator →

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