#CBC672#CBC672

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

Color values

HEX#CBC672
RGBrgb(203, 198, 114)
HSLhsl(57, 46%, 62%)
HSVhsv(57, 44%, 80%)
CMYKcmyk(0%, 2.5%, 43.8%, 20.4%)
CIE-LABlab(78.64, -10.13, 42.56)
CIE-LCHlch(78.64, 43.75, 103.39°)
OKLaboklab(81.23% -0.0285 0.1025)
OKLCHoklch(81.23% 0.106 105.5)
XYZxyz(47.8609, 54.3008, 23.8762)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC672 #7277CB
analogous
#CB9A72 #CBC672 #A4CB72
triadic
#CBC672 #72CBC6 #C672CB
tetradic
#CBC672 #72CB9A #7277CB #CB72A4
square
#CBC672 #72CB9A #7277CB #CB72A4
split-complementary
#CBC672 #72A4CB #9A72CB
monochromatic
#8E8934 #BBB445 #CBC672 #DBD89F #ECEACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC672#FFFFFF#000000##000000
##CBC6721.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)
#D3C06B
Deuteranopia (green-blind)
#D5C476
Tritanopia (blue-blind)
#D7BCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc672;
/* rgb */ color: rgb(203, 198, 114);
/* oklch */ color: oklch(81.2% 0.106 105.5);
Tailwind
colors: {
  custom: {
    50: '#dcd79c',
    500: '#cbc672',
    950: '#000000',
  },
}
SCSS
$custom: #cbc672;
$custom-light: #dcd79c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc672",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 56.629,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81231,
    "c": 0.10642,
    "h": 105.5
  },
  "luminance": 0.543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC672

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

Preview Lab → · Contrast checker → · Palette generator →

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