#CBC762#CBC762

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

Color values

HEX#CBC762
RGBrgb(203, 199, 98)
HSLhsl(58, 50%, 59%)
HSVhsv(58, 52%, 80%)
CMYKcmyk(0%, 2%, 51.7%, 20.4%)
CIE-LABlab(78.71, -12.12, 50.43)
CIE-LCHlch(78.71, 51.86, 103.52°)
OKLaboklab(81.23% -0.0358 0.1186)
OKLCHoklch(81.23% 0.124 106.8)
XYZxyz(47.2579, 54.4265, 19.5689)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC762 #6266CB
analogous
#CB9362 #CBC762 #9BCB62
triadic
#CBC762 #62CBC7 #C762CB
tetradic
#CBC762 #62CB93 #6266CB #CB629B
square
#CBC762 #62CB93 #6266CB #CB629B
split-complementary
#CBC762 #629BCB #9362CB
monochromatic
#86832C #B4B03C #CBC762 #DAD790 #E9E8BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC762#FFFFFF#000000##000000
##CBC7621.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)
#D5C058
Deuteranopia (green-blind)
#D7C567
Tritanopia (blue-blind)
#D8BCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc762;
/* rgb */ color: rgb(203, 199, 98);
/* oklch */ color: oklch(81.2% 0.124 106.8);
Tailwind
colors: {
  custom: {
    50: '#ddd791',
    500: '#cbc762',
    950: '#000000',
  },
}
SCSS
$custom: #cbc762;
$custom-light: #ddd791;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc762",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 57.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81226,
    "c": 0.12385,
    "h": 106.8
  },
  "luminance": 0.54425
}

Semantic roles & 50–950 ramp

primary
#CBC762
secondary
#44478D
accent
#53DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC762

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

Preview Lab → · Contrast checker → · Palette generator →

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