#CBC362#CBC362

#CBC362 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.120 H 104.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CBC362
RGBrgb(203, 195, 98)
HSLhsl(55, 50%, 59%)
HSVhsv(55, 52%, 80%)
CMYKcmyk(0%, 3.9%, 51.7%, 20.4%)
CIE-LABlab(77.64, -10.08, 49.17)
CIE-LCHlch(77.64, 50.20, 101.59°)
OKLaboklab(80.38% -0.03 0.1158)
OKLCHoklch(80.38% 0.12 104.5)
XYZxyz(46.3496, 52.6100, 19.2661)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC362 #626ACB
analogous
#CB8F62 #CBC362 #9FCB62
triadic
#CBC362 #62CBC3 #C362CB
tetradic
#CBC362 #62CB8F #626ACB #CB629F
square
#CBC362 #62CB8F #626ACB #CB629F
split-complementary
#CBC362 #629FCB #8F62CB
monochromatic
#867F2C #B4AB3C #CBC362 #DAD590 #E9E6BE

Accessibility & contrast

On white

1.82
#CBC362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CBC362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC362
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC362#FFFFFF#000000##000000
##CBC3621.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D4C267
Tritanopia (blue-blind)
#D8B8AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc362;
/* rgb */ color: rgb(203, 195, 98);
/* oklch */ color: oklch(80.4% 0.120 104.5);
Tailwind
colors: {
  custom: {
    50: '#ddd591',
    500: '#cbc362',
    950: '#000000',
  },
}
SCSS
$custom: #cbc362;
$custom-light: #ddd591;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc362",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 55.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80379,
    "c": 0.11965,
    "h": 104.5
  },
  "luminance": 0.52609
}

Semantic roles & 50–950 ramp

primary
#CBC362
secondary
#44498D
accent
#59DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC362

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

Preview Lab → · Contrast checker → · Palette generator →

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