#CBC470#CBC470

#CBC470 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.106 H 104.3°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CBC470
RGBrgb(203, 196, 112)
HSLhsl(55, 47%, 62%)
HSVhsv(55, 45%, 80%)
CMYKcmyk(0%, 3.4%, 44.8%, 20.4%)
CIE-LABlab(78.08, -9.31, 42.87)
CIE-LCHlch(78.08, 43.87, 102.25°)
OKLaboklab(80.78% -0.0263 0.1031)
OKLCHoklch(80.78% 0.106 104.3)
XYZxyz(47.2942, 53.3475, 23.1319)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC470 #7077CB
analogous
#CB9770 #CBC470 #A5CB70
triadic
#CBC470 #70CBC4 #C470CB
tetradic
#CBC470 #70CB97 #7077CB #CB70A5
square
#CBC470 #70CB97 #7077CB #CB70A5
split-complementary
#CBC470 #70A5CB #9770CB
monochromatic
#8D8633 #BAB144 #CBC470 #DBD79D #ECE9CA

Accessibility & contrast

On white

1.80
#CBC470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CBC470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC470
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC470#FFFFFF#000000##000000
##CBC4701.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF69
Deuteranopia (green-blind)
#D4C374
Tritanopia (blue-blind)
#D7BAB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc470;
/* rgb */ color: rgb(203, 196, 112);
/* oklch */ color: oklch(80.8% 0.106 104.3);
Tailwind
colors: {
  custom: {
    50: '#dcd59a',
    500: '#cbc470',
    950: '#000000',
  },
}
SCSS
$custom: #cbc470;
$custom-light: #dcd59a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc470",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 112
  },
  "hsl": {
    "h": 55.385,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8078,
    "c": 0.10639,
    "h": 104.3
  },
  "luminance": 0.53346
}

Semantic roles & 50–950 ramp

primary
#CBC470
secondary
#4B5194
accent
#37BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC470

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

Preview Lab → · Contrast checker → · Palette generator →

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