#CBC671#CBC671

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

Color values

HEX#CBC671
RGBrgb(203, 198, 113)
HSLhsl(57, 46%, 62%)
HSVhsv(57, 44%, 80%)
CMYKcmyk(0%, 2.5%, 44.3%, 20.4%)
CIE-LABlab(78.62, -10.23, 43.04)
CIE-LCHlch(78.62, 44.24, 103.37°)
OKLaboklab(81.22% -0.0289 0.1035)
OKLCHoklch(81.22% 0.107 105.6)
XYZxyz(47.8043, 54.2782, 23.5781)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC671 #7176CB
analogous
#CB9971 #CBC671 #A3CB71
triadic
#CBC671 #71CBC6 #C671CB
tetradic
#CBC671 #71CB99 #7176CB #CB71A3
square
#CBC671 #71CB99 #7176CB #CB71A3
split-complementary
#CBC671 #71A3CB #9971CB
monochromatic
#8E8934 #BBB444 #CBC671 #DBD89E #ECEACB

Accessibility & contrast

On white

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

On black

11.86
#CBC671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC671
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC671#FFFFFF#000000##000000
##CBC6711.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06A
Deuteranopia (green-blind)
#D5C475
Tritanopia (blue-blind)
#D7BCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc671;
/* rgb */ color: rgb(203, 198, 113);
/* oklch */ color: oklch(81.2% 0.107 105.6);
Tailwind
colors: {
  custom: {
    50: '#dcd79b',
    500: '#cbc671',
    950: '#000000',
  },
}
SCSS
$custom: #cbc671;
$custom-light: #dcd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc671",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 56.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.10749,
    "h": 105.6
  },
  "luminance": 0.54277
}

Semantic roles & 50–950 ramp

primary
#CBC671
secondary
#4C5095
accent
#34BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC671

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

Preview Lab → · Contrast checker → · Palette generator →

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