#CBC059#CBC059

#CBC059 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.125 H 103.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CBC059
RGBrgb(203, 192, 89)
HSLhsl(54, 52%, 57%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.4%, 56.2%, 20.4%)
CIE-LABlab(76.75, -9.28, 52.37)
CIE-LCHlch(76.75, 53.18, 100.04°)
OKLaboklab(79.64% -0.0286 0.1218)
OKLCHoklch(79.64% 0.125 103.2)
XYZxyz(45.2829, 51.1186, 16.9308)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC059 #5964CB
analogous
#CB8759 #CBC059 #9DCB59
triadic
#CBC059 #59CBC0 #C059CB
tetradic
#CBC059 #59CB87 #5964CB #CB599D
square
#CBC059 #59CB87 #5964CB #CB599D
split-complementary
#CBC059 #599DCB #8759CB
monochromatic
#817928 #B0A437 #CBC059 #DAD288 #E8E3B6

Accessibility & contrast

On white

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

On black

11.22
#CBC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC059
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC059#FFFFFF#000000##000000
##CBC0591.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4F
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#D9B4A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc059;
/* rgb */ color: rgb(203, 192, 89);
/* oklch */ color: oklch(79.6% 0.125 103.2);
Tailwind
colors: {
  custom: {
    50: '#ddd28b',
    500: '#cbc059',
    950: '#000000',
  },
}
SCSS
$custom: #cbc059;
$custom-light: #ddd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc059",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 54.211,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79638,
    "c": 0.12512,
    "h": 103.2
  },
  "luminance": 0.51117
}

Semantic roles & 50–950 ramp

primary
#CBC059
secondary
#3F4789
accent
#5ADC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC059

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

Preview Lab → · Contrast checker → · Palette generator →

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