#CBC760#CBC760

#CBC760 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.126 H 106.9°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CBC760
RGBrgb(203, 199, 96)
HSLhsl(58, 51%, 59%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 2%, 52.7%, 20.4%)
CIE-LABlab(78.69, -12.29, 51.34)
CIE-LCHlch(78.69, 52.79, 103.46°)
OKLaboklab(81.2% -0.0365 0.1203)
OKLCHoklch(81.2% 0.126 106.9)
XYZxyz(47.1646, 54.3892, 19.0777)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC760 #6064CB
analogous
#CB9160 #CBC760 #99CB60
triadic
#CBC760 #60CBC7 #C760CB
tetradic
#CBC760 #60CB91 #6064CB #CB6099
square
#CBC760 #60CB91 #6064CB #CB6099
split-complementary
#CBC760 #6099CB #9160CB
monochromatic
#85822C #B3AF3B #CBC760 #DAD78E #E9E7BC

Accessibility & contrast

On white

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

On black

11.88
#CBC760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC760
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC760#FFFFFF#000000##000000
##CBC7601.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C056
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#D8BCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc760;
/* rgb */ color: rgb(203, 199, 96);
/* oklch */ color: oklch(81.2% 0.126 106.9);
Tailwind
colors: {
  custom: {
    50: '#ddd790',
    500: '#cbc760',
    950: '#000000',
  },
}
SCSS
$custom: #cbc760;
$custom-light: #ddd790;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc760",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 96
  },
  "hsl": {
    "h": 57.757,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81202,
    "c": 0.12575,
    "h": 106.9
  },
  "luminance": 0.54388
}

Semantic roles & 50–950 ramp

primary
#CBC760
secondary
#43468C
accent
#53DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC760

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

Preview Lab → · Contrast checker → · Palette generator →

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