#C2B456#C2B456

#C2B456 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.116 H 100.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C2B456
RGBrgb(194, 180, 86)
HSLhsl(52, 47%, 55%)
HSVhsv(52, 56%, 76%)
CMYKcmyk(0%, 7.2%, 55.7%, 23.9%)
CIE-LABlab(72.75, -7.07, 48.98)
CIE-LCHlch(72.75, 49.49, 98.21°)
OKLaboklab(76.27% -0.0221 0.1144)
OKLCHoklch(76.27% 0.116 100.9)
XYZxyz(40.2505, 44.7853, 15.3265)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B456 #5664C2
analogous
#C27E56 #C2B456 #9AC256
triadic
#C2B456 #56C2B4 #B456C2
tetradic
#C2B456 #56C27E #5664C2 #C2569A
square
#C2B456 #56C27E #5664C2 #C2569A
split-complementary
#C2B456 #569AC2 #7E56C2
monochromatic
#746A2A #A1933A #C2B456 #D2C883 #E2DCB0

Accessibility & contrast

On white

2.11
#C2B456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C2B456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B456
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B456#FFFFFF#000000##000000
##C2B4561.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4D
Deuteranopia (green-blind)
#C7B55A
Tritanopia (blue-blind)
#CFA99F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b456;
/* rgb */ color: rgb(194, 180, 86);
/* oklch */ color: oklch(76.3% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#d7ca88',
    500: '#c2b456',
    950: '#000000',
  },
}
SCSS
$custom: #c2b456;
$custom-light: #d7ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b456",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 52.222,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76266,
    "c": 0.11647,
    "h": 100.9
  },
  "luminance": 0.44784
}

Semantic roles & 50–950 ramp

primary
#C2B456
secondary
#A3A9D1
accent
#63D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B456

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

Preview Lab → · Contrast checker → · Palette generator →

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