#C2B156#C2B156

#C2B156 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.114 H 98.9°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C2B156
RGBrgb(194, 177, 86)
HSLhsl(51, 47%, 55%)
HSVhsv(51, 56%, 76%)
CMYKcmyk(0%, 8.8%, 55.7%, 23.9%)
CIE-LABlab(71.95, -5.50, 48.06)
CIE-LCHlch(71.95, 48.37, 96.53°)
OKLaboklab(75.63% -0.0176 0.1124)
OKLCHoklch(75.63% 0.114 98.9)
XYZxyz(39.6514, 43.5871, 15.1268)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B156 #5667C2
analogous
#C27B56 #C2B156 #9DC256
triadic
#C2B156 #56C2B1 #B156C2
tetradic
#C2B156 #56C27B #5667C2 #C2569D
square
#C2B156 #56C27B #5667C2 #C2569D
split-complementary
#C2B156 #569DC2 #7B56C2
monochromatic
#74682A #A1913A #C2B156 #D2C683 #E2DBB0

Accessibility & contrast

On white

2.16
#C2B156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C2B156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B156
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B156#FFFFFF#000000##000000
##C2B1561.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4D
Deuteranopia (green-blind)
#C5B35A
Tritanopia (blue-blind)
#CFA69C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b156;
/* rgb */ color: rgb(194, 177, 86);
/* oklch */ color: oklch(75.6% 0.114 98.9);
Tailwind
colors: {
  custom: {
    50: '#d7c888',
    500: '#c2b156',
    950: '#000000',
  },
}
SCSS
$custom: #c2b156;
$custom-light: #d7c888;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b156",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 50.556,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75633,
    "c": 0.11372,
    "h": 98.9
  },
  "luminance": 0.43586
}

Semantic roles & 50–950 ramp

primary
#C2B156
secondary
#A3AAD1
accent
#66D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B156

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

Preview Lab → · Contrast checker → · Palette generator →

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