#C2B952#C2B952

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

Color values

HEX#C2B952
RGBrgb(194, 185, 82)
HSLhsl(55, 48%, 54%)
HSVhsv(55, 58%, 76%)
CMYKcmyk(0%, 4.6%, 57.7%, 23.9%)
CIE-LABlab(74.05, -9.97, 52.32)
CIE-LCHlch(74.05, 53.26, 100.79°)
OKLaboklab(77.28% -0.0309 0.1211)
OKLCHoklch(77.28% 0.125 104.3)
XYZxyz(41.1214, 46.7779, 14.8439)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B952 #525BC2
analogous
#C28152 #C2B952 #93C252
triadic
#C2B952 #52C2B9 #B952C2
tetradic
#C2B952 #52C281 #525BC2 #C25293
square
#C2B952 #52C281 #525BC2 #C25293
split-complementary
#C2B952 #5293C2 #8152C2
monochromatic
#726C28 #9F9738 #C2B952 #D2CB7F #E2DEAC

Accessibility & contrast

On white

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

On black

10.36
#C2B952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B952
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B952#FFFFFF#000000##000000
##C2B9521.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b952;
/* rgb */ color: rgb(194, 185, 82);
/* oklch */ color: oklch(77.3% 0.125 104.3);
Tailwind
colors: {
  custom: {
    50: '#d7cd86',
    500: '#c2b952',
    950: '#000000',
  },
}
SCSS
$custom: #c2b952;
$custom-light: #d7cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b952",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 55.179,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77283,
    "c": 0.12492,
    "h": 104.3
  },
  "luminance": 0.46776
}

Semantic roles & 50–950 ramp

primary
#C2B952
secondary
#A0A4D0
accent
#5BD750
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B952

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

Preview Lab → · Contrast checker → · Palette generator →

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