#CBC764#CBC764

#CBC764 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.122 H 106.7°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CBC764
RGBrgb(203, 199, 100)
HSLhsl(58, 50%, 59%)
HSVhsv(58, 51%, 80%)
CMYKcmyk(0%, 2%, 50.7%, 20.4%)
CIE-LABlab(78.73, -11.95, 49.50)
CIE-LCHlch(78.73, 50.93, 103.57°)
OKLaboklab(81.25% -0.0351 0.1167)
OKLCHoklch(81.25% 0.122 106.7)
XYZxyz(47.3535, 54.4648, 20.0724)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC764 #6468CB
analogous
#CB9464 #CBC764 #9CCB64
triadic
#CBC764 #64CBC7 #C764CB
tetradic
#CBC764 #64CB94 #6468CB #CB649C
square
#CBC764 #64CB94 #6468CB #CB649C
split-complementary
#CBC764 #649CCB #9464CB
monochromatic
#87842D #B5B03D #CBC764 #DAD892 #EAE8C0

Accessibility & contrast

On white

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

On black

11.89
#CBC764 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC764
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC764#FFFFFF#000000##000000
##CBC7641.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc764;
/* rgb */ color: rgb(203, 199, 100);
/* oklch */ color: oklch(81.3% 0.122 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd793',
    500: '#cbc764',
    950: '#000000',
  },
}
SCSS
$custom: #cbc764;
$custom-light: #ddd793;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc764",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 100
  },
  "hsl": {
    "h": 57.67,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81251,
    "c": 0.1219,
    "h": 106.7
  },
  "luminance": 0.54463
}

Semantic roles & 50–950 ramp

primary
#CBC764
secondary
#45488E
accent
#54D94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC764

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

Preview Lab → · Contrast checker → · Palette generator →

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