#CBC765#CBC765

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

Color values

HEX#CBC765
RGBrgb(203, 199, 101)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 50%, 80%)
CMYKcmyk(0%, 2%, 50.2%, 20.4%)
CIE-LABlab(78.74, -11.86, 49.04)
CIE-LCHlch(78.74, 50.46, 103.60°)
OKLaboklab(81.26% -0.0348 0.1158)
OKLCHoklch(81.26% 0.121 106.7)
XYZxyz(47.4022, 54.4842, 20.3289)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC765 #6569CB
analogous
#CB9465 #CBC765 #9CCB65
triadic
#CBC765 #65CBC7 #C765CB
tetradic
#CBC765 #65CB94 #6569CB #CB659C
square
#CBC765 #65CB94 #6569CB #CB659C
split-complementary
#CBC765 #659CCB #9465CB
monochromatic
#88842E #B6B13D #CBC765 #DAD893 #EAE8C1

Accessibility & contrast

On white

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

On black

11.90
#CBC765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC765
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC765#FFFFFF#000000##000000
##CBC7651.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15C
Deuteranopia (green-blind)
#D7C56A
Tritanopia (blue-blind)
#D7BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc765;
/* rgb */ color: rgb(203, 199, 101);
/* oklch */ color: oklch(81.3% 0.121 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd793',
    500: '#cbc765',
    950: '#000000',
  },
}
SCSS
$custom: #cbc765;
$custom-light: #ddd793;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc765",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 57.647,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.12093,
    "h": 106.7
  },
  "luminance": 0.54483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC765

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

Preview Lab → · Contrast checker → · Palette generator →

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