#CBC757#CBC757

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

Color values

HEX#CBC757
RGBrgb(203, 199, 87)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 2%, 57.1%, 20.4%)
CIE-LABlab(78.60, -13.00, 55.36)
CIE-LCHlch(78.60, 56.87, 103.21°)
OKLaboklab(81.1% -0.0395 0.128)
OKLCHoklch(81.1% 0.134 107.1)
XYZxyz(46.7737, 54.2329, 17.0191)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC757 #575BCB
analogous
#CB8D57 #CBC757 #95CB57
triadic
#CBC757 #57CBC7 #C757CB
tetradic
#CBC757 #57CB8D #575BCB #CB5795
square
#CBC757 #57CB8D #575BCB #CB5795
split-complementary
#CBC757 #5795CB #8D57CB
monochromatic
#807D28 #AFAB36 #CBC757 #D9D786 #E8E6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC757#FFFFFF#000000##000000
##CBC7571.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)
#D6C04B
Deuteranopia (green-blind)
#D8C55D
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc757;
/* rgb */ color: rgb(203, 199, 87);
/* oklch */ color: oklch(81.1% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78a',
    500: '#cbc757',
    950: '#000000',
  },
}
SCSS
$custom: #cbc757;
$custom-light: #ddd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc757",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 57.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.811,
    "c": 0.13393,
    "h": 107.1
  },
  "luminance": 0.54231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC757

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

Preview Lab → · Contrast checker → · Palette generator →

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