#CBC770#CBC770

#CBC770 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.110 H 106.3°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CBC770
RGBrgb(203, 199, 112)
HSLhsl(57, 47%, 62%)
HSVhsv(57, 45%, 80%)
CMYKcmyk(0%, 2%, 44.8%, 20.4%)
CIE-LABlab(78.88, -10.84, 43.85)
CIE-LCHlch(78.88, 45.17, 103.89°)
OKLaboklab(81.41% -0.0307 0.1053)
OKLCHoklch(81.41% 0.11 106.3)
XYZxyz(47.9776, 54.7144, 23.3597)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC770 #7074CB
analogous
#CB9A70 #CBC770 #A2CB70
triadic
#CBC770 #70CBC7 #C770CB
tetradic
#CBC770 #70CB9A #7074CB #CB70A2
square
#CBC770 #70CB9A #7074CB #CB70A2
split-complementary
#CBC770 #70A2CB #9A70CB
monochromatic
#8D8933 #BAB544 #CBC770 #DBD99D #ECEACA

Accessibility & contrast

On white

1.76
#CBC770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CBC770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC770
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC770#FFFFFF#000000##000000
##CBC7701.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D6C574
Tritanopia (blue-blind)
#D7BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc770;
/* rgb */ color: rgb(203, 199, 112);
/* oklch */ color: oklch(81.4% 0.110 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcd79b',
    500: '#cbc770',
    950: '#000000',
  },
}
SCSS
$custom: #cbc770;
$custom-light: #dcd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc770",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 57.363,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81412,
    "c": 0.10966,
    "h": 106.3
  },
  "luminance": 0.54713
}

Semantic roles & 50–950 ramp

primary
#CBC770
secondary
#4B4E94
accent
#32BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC770

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

Preview Lab → · Contrast checker → · Palette generator →

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