#CBC759#CBC759

#CBC759 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.132 H 107.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CBC759
RGBrgb(203, 199, 89)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 56%, 80%)
CMYKcmyk(0%, 2%, 56.2%, 20.4%)
CIE-LABlab(78.62, -12.84, 54.48)
CIE-LCHlch(78.62, 55.98, 103.27°)
OKLaboklab(81.12% -0.0388 0.1263)
OKLCHoklch(81.12% 0.132 107.1)
XYZxyz(46.8566, 54.2660, 17.4554)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC759 #595DCB
analogous
#CB8E59 #CBC759 #96CB59
triadic
#CBC759 #59CBC7 #C759CB
tetradic
#CBC759 #59CB8E #595DCB #CB5996
square
#CBC759 #59CB8E #595DCB #CB5996
split-complementary
#CBC759 #5996CB #8E59CB
monochromatic
#817E28 #B0AC37 #CBC759 #DAD788 #E8E6B6

Accessibility & contrast

On white

1.77
#CBC759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CBC759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC759
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC759#FFFFFF#000000##000000
##CBC7591.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04E
Deuteranopia (green-blind)
#D8C55F
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc759;
/* rgb */ color: rgb(203, 199, 89);
/* oklch */ color: oklch(81.1% 0.132 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78c',
    500: '#cbc759',
    950: '#000000',
  },
}
SCSS
$custom: #cbc759;
$custom-light: #ddd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc759",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 57.895,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81122,
    "c": 0.13217,
    "h": 107.1
  },
  "luminance": 0.54265
}

Semantic roles & 50–950 ramp

primary
#CBC759
secondary
#3F4289
accent
#51DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC759

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

Preview Lab → · Contrast checker → · Palette generator →

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