#C2B052#C2B052

#C2B052 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.4% C 0.117 H 98.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C2B052
RGBrgb(194, 176, 82)
HSLhsl(50, 48%, 54%)
HSVhsv(50, 58%, 76%)
CMYKcmyk(0%, 9.3%, 57.7%, 23.9%)
CIE-LABlab(71.64, -5.29, 49.60)
CIE-LCHlch(71.64, 49.88, 96.08°)
OKLaboklab(75.38% -0.0174 0.1152)
OKLCHoklch(75.38% 0.117 98.6)
XYZxyz(39.2979, 43.1308, 14.2361)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B052 #5264C2
analogous
#C27852 #C2B052 #9CC252
triadic
#C2B052 #52C2B0 #B052C2
tetradic
#C2B052 #52C278 #5264C2 #C2529C
square
#C2B052 #52C278 #5264C2 #C2529C
split-complementary
#C2B052 #529CC2 #7852C2
monochromatic
#726628 #9F8E38 #C2B052 #D2C57F #E2D9AC

Accessibility & contrast

On white

2.18
#C2B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C2B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B052
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B052#FFFFFF#000000##000000
##C2B0521.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC49
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#D0A59B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b052;
/* rgb */ color: rgb(194, 176, 82);
/* oklch */ color: oklch(75.4% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#d7c786',
    500: '#c2b052',
    950: '#000000',
  },
}
SCSS
$custom: #c2b052;
$custom-light: #d7c786;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b052",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 50.357,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75375,
    "c": 0.11653,
    "h": 98.6
  },
  "luminance": 0.43129
}

Semantic roles & 50–950 ramp

primary
#C2B052
secondary
#A0A8D0
accent
#66D750
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B052

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

Preview Lab → · Contrast checker → · Palette generator →

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