#CBC758#CBC758

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

Color values

HEX#CBC758
RGBrgb(203, 199, 88)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 2%, 56.7%, 20.4%)
CIE-LABlab(78.61, -12.92, 54.93)
CIE-LCHlch(78.61, 56.42, 103.24°)
OKLaboklab(81.11% -0.0391 0.1272)
OKLCHoklch(81.11% 0.133 107.1)
XYZxyz(46.8149, 54.2493, 17.2357)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC758 #585CCB
analogous
#CB8E58 #CBC758 #96CB58
triadic
#CBC758 #58CBC7 #C758CB
tetradic
#CBC758 #58CB8E #585CCB #CB5896
square
#CBC758 #58CB8E #585CCB #CB5896
split-complementary
#CBC758 #5896CB #8E58CB
monochromatic
#817D28 #AFAB37 #CBC758 #DAD787 #E8E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC758#FFFFFF#000000##000000
##CBC7581.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)
#D6C04C
Deuteranopia (green-blind)
#D8C55E
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc758;
/* rgb */ color: rgb(203, 199, 88);
/* oklch */ color: oklch(81.1% 0.133 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78b',
    500: '#cbc758',
    950: '#000000',
  },
}
SCSS
$custom: #cbc758;
$custom-light: #ddd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc758",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 57.913,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81111,
    "c": 0.13305,
    "h": 107.1
  },
  "luminance": 0.54248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC758

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

Preview Lab → · Contrast checker → · Palette generator →

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