#CBC670#CBC670

#CBC670 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.109 H 105.6°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CBC670
RGBrgb(203, 198, 112)
HSLhsl(57, 47%, 62%)
HSVhsv(57, 45%, 80%)
CMYKcmyk(0%, 2.5%, 44.8%, 20.4%)
CIE-LABlab(78.61, -10.33, 43.52)
CIE-LCHlch(78.61, 44.73, 103.35°)
OKLaboklab(81.2% -0.0293 0.1045)
OKLCHoklch(81.2% 0.109 105.6)
XYZxyz(47.7483, 54.2558, 23.2833)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC670 #7075CB
analogous
#CB9970 #CBC670 #A3CB70
triadic
#CBC670 #70CBC6 #C670CB
tetradic
#CBC670 #70CB99 #7075CB #CB70A3
square
#CBC670 #70CB99 #7075CB #CB70A3
split-complementary
#CBC670 #70A3CB #9970CB
monochromatic
#8D8833 #BAB444 #CBC670 #DBD89D #ECEACA

Accessibility & contrast

On white

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

On black

11.85
#CBC670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC670
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC670#FFFFFF#000000##000000
##CBC6701.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C069
Deuteranopia (green-blind)
#D5C474
Tritanopia (blue-blind)
#D7BCB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc670;
/* rgb */ color: rgb(203, 198, 112);
/* oklch */ color: oklch(81.2% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#dcd79b',
    500: '#cbc670',
    950: '#000000',
  },
}
SCSS
$custom: #cbc670;
$custom-light: #dcd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc670",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 56.703,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81201,
    "c": 0.10856,
    "h": 105.6
  },
  "luminance": 0.54255
}

Semantic roles & 50–950 ramp

primary
#CBC670
secondary
#4B4F94
accent
#33BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC670

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

Preview Lab → · Contrast checker → · Palette generator →

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