#CBC970#CBC970

#CBC970 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.112 H 107.5°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CBC970
RGBrgb(203, 201, 112)
HSLhsl(59, 47%, 62%)
HSVhsv(59, 45%, 80%)
CMYKcmyk(0%, 1%, 44.8%, 20.4%)
CIE-LABlab(79.41, -11.86, 44.51)
CIE-LCHlch(79.41, 46.06, 104.92°)
OKLaboklab(81.84% -0.0336 0.1067)
OKLCHoklch(81.84% 0.112 107.5)
XYZxyz(48.4408, 55.6408, 23.5141)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC970 #7072CB
analogous
#CB9C70 #CBC970 #A0CB70
triadic
#CBC970 #70CBC9 #C970CB
tetradic
#CBC970 #70CB9C #7072CB #CB70A0
square
#CBC970 #70CB9C #7072CB #CB70A0
split-complementary
#CBC970 #70A0CB #9C70CB
monochromatic
#8D8B33 #BAB844 #CBC970 #DBDA9D #ECEBCA

Accessibility & contrast

On white

1.73
#CBC970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#CBC970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC970
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC970#FFFFFF#000000##000000
##CBC9701.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C369
Deuteranopia (green-blind)
#D8C674
Tritanopia (blue-blind)
#D7BFB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc970;
/* rgb */ color: rgb(203, 201, 112);
/* oklch */ color: oklch(81.8% 0.112 107.5);
Tailwind
colors: {
  custom: {
    50: '#dcd99b',
    500: '#cbc970',
    950: '#000000',
  },
}
SCSS
$custom: #cbc970;
$custom-light: #dcd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc970",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 58.681,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81836,
    "c": 0.11191,
    "h": 107.5
  },
  "luminance": 0.5564
}

Semantic roles & 50–950 ramp

primary
#CBC970
secondary
#4B4D94
accent
#2FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC970

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

Preview Lab → · Contrast checker → · Palette generator →

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