#C2B152#C2B152

#C2B152 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.117 H 99.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C2B152
RGBrgb(194, 177, 82)
HSLhsl(51, 48%, 54%)
HSVhsv(51, 58%, 76%)
CMYKcmyk(0%, 8.8%, 57.7%, 23.9%)
CIE-LABlab(71.91, -5.81, 49.90)
CIE-LCHlch(71.91, 50.24, 96.64°)
OKLaboklab(75.59% -0.019 0.1159)
OKLCHoklch(75.59% 0.117 99.3)
XYZxyz(39.4947, 43.5244, 14.3017)
Luminance0.4352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B152 #5263C2
analogous
#C27952 #C2B152 #9BC252
triadic
#C2B152 #52C2B1 #B152C2
tetradic
#C2B152 #52C279 #5263C2 #C2529B
square
#C2B152 #52C279 #5263C2 #C2529B
split-complementary
#C2B152 #529BC2 #7952C2
monochromatic
#726628 #9F8F38 #C2B152 #D2C57F #E2DAAC

Accessibility & contrast

On white

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

On black

9.70
#C2B152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B152
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B152#FFFFFF#000000##000000
##C2B1521.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#D0A69C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b152;
/* rgb */ color: rgb(194, 177, 82);
/* oklch */ color: oklch(75.6% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#d7c886',
    500: '#c2b152',
    950: '#000000',
  },
}
SCSS
$custom: #c2b152;
$custom-light: #d7c886;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b152",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 50.893,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75586,
    "c": 0.11741,
    "h": 99.3
  },
  "luminance": 0.43523
}

Semantic roles & 50–950 ramp

primary
#C2B152
secondary
#A0A7D0
accent
#65D750
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B152

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

Preview Lab → · Contrast checker → · Palette generator →

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