#C2B251#C2B251

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

Color values

HEX#C2B251
RGBrgb(194, 178, 81)
HSLhsl(52, 48%, 54%)
HSVhsv(52, 58%, 76%)
CMYKcmyk(0%, 8.2%, 58.2%, 23.9%)
CIE-LABlab(72.17, -6.41, 50.66)
CIE-LCHlch(72.17, 51.06, 97.21°)
OKLaboklab(75.79% -0.0208 0.1174)
OKLCHoklch(75.79% 0.119 100)
XYZxyz(39.6552, 43.9058, 14.1688)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B251 #5161C2
analogous
#C27A51 #C2B251 #9AC251
triadic
#C2B251 #51C2B2 #B251C2
tetradic
#C2B251 #51C27A #5161C2 #C2519A
square
#C2B251 #51C27A #5161C2 #C2519A
split-complementary
#C2B251 #519AC2 #7A51C2
monochromatic
#716728 #9E9037 #C2B251 #D2C67E #E2DAAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B251#FFFFFF#000000##000000
##C2B2511.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)
#C1AD47
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#D0A79D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b251;
/* rgb */ color: rgb(194, 178, 81);
/* oklch */ color: oklch(75.8% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#d7c885',
    500: '#c2b251',
    950: '#000000',
  },
}
SCSS
$custom: #c2b251;
$custom-light: #d7c885;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b251",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 51.504,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75786,
    "c": 0.11921,
    "h": 100
  },
  "luminance": 0.43904
}

Semantic roles & 50–950 ramp

primary
#C2B251
secondary
#9FA6D0
accent
#63D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B251

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

Preview Lab → · Contrast checker → · Palette generator →

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