#C2B252#C2B252

#C2B252 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.118 H 100.0°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C2B252
RGBrgb(194, 178, 82)
HSLhsl(51, 48%, 54%)
HSVhsv(51, 58%, 76%)
CMYKcmyk(0%, 8.2%, 57.7%, 23.9%)
CIE-LABlab(72.18, -6.33, 50.21)
CIE-LCHlch(72.18, 50.60, 97.19°)
OKLaboklab(75.8% -0.0204 0.1165)
OKLCHoklch(75.8% 0.118 100)
XYZxyz(39.6930, 43.9209, 14.3678)
Luminance0.4392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B252 #5262C2
analogous
#C27A52 #C2B252 #9AC252
triadic
#C2B252 #52C2B2 #B252C2
tetradic
#C2B252 #52C27A #5262C2 #C2529A
square
#C2B252 #52C27A #5262C2 #C2529A
split-complementary
#C2B252 #529AC2 #7A52C2
monochromatic
#726728 #9F9038 #C2B252 #D2C67F #E2DAAC

Accessibility & contrast

On white

2.15
#C2B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C2B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B252
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B252#FFFFFF#000000##000000
##C2B2521.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C6B457
Tritanopia (blue-blind)
#D0A79D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b252;
/* rgb */ color: rgb(194, 178, 82);
/* oklch */ color: oklch(75.8% 0.118 100.0);
Tailwind
colors: {
  custom: {
    50: '#d7c886',
    500: '#c2b252',
    950: '#000000',
  },
}
SCSS
$custom: #c2b252;
$custom-light: #d7c886;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b252",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 51.429,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75797,
    "c": 0.1183,
    "h": 100
  },
  "luminance": 0.43919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B252

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

Preview Lab → · Contrast checker → · Palette generator →

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