#C2B951#C2B951

#C2B951 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.3% C 0.126 H 104.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C2B951
RGBrgb(194, 185, 81)
HSLhsl(55, 48%, 54%)
HSVhsv(55, 58%, 76%)
CMYKcmyk(0%, 4.6%, 58.2%, 23.9%)
CIE-LABlab(74.04, -10.05, 52.77)
CIE-LCHlch(74.04, 53.71, 100.78°)
OKLaboklab(77.27% -0.0312 0.1219)
OKLCHoklch(77.27% 0.126 104.4)
XYZxyz(41.0837, 46.7627, 14.6450)
Luminance0.4676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B951 #515AC2
analogous
#C28151 #C2B951 #93C251
triadic
#C2B951 #51C2B9 #B951C2
tetradic
#C2B951 #51C281 #515AC2 #C25193
square
#C2B951 #51C281 #515AC2 #C25193
split-complementary
#C2B951 #5193C2 #8151C2
monochromatic
#716B28 #9E9637 #C2B951 #D2CB7E #E2DDAC

Accessibility & contrast

On white

2.03
#C2B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#C2B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B951
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B951#FFFFFF#000000##000000
##C2B9511.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#CFAEA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b951;
/* rgb */ color: rgb(194, 185, 81);
/* oklch */ color: oklch(77.3% 0.126 104.4);
Tailwind
colors: {
  custom: {
    50: '#d7cd86',
    500: '#c2b951',
    950: '#000000',
  },
}
SCSS
$custom: #c2b951;
$custom-light: #d7cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b951",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 55.221,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77272,
    "c": 0.12581,
    "h": 104.4
  },
  "luminance": 0.46761
}

Semantic roles & 50–950 ramp

primary
#C2B951
secondary
#9FA3D0
accent
#5BD850
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B951

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

Preview Lab → · Contrast checker → · Palette generator →

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