#C2B537#C2B537

#C2B537 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.142 H 103.3°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C2B537
RGBrgb(194, 181, 55)
HSLhsl(54, 56%, 49%)
HSVhsv(54, 72%, 76%)
CMYKcmyk(0%, 6.7%, 71.6%, 23.9%)
CIE-LABlab(72.76, -9.56, 62.25)
CIE-LCHlch(72.76, 62.98, 98.73°)
OKLaboklab(76.19% -0.0327 0.138)
OKLCHoklch(76.19% 0.142 103.3)
XYZxyz(39.4633, 44.7945, 10.1812)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B537 #3744C2
analogous
#C27037 #C2B537 #8AC237
triadic
#C2B537 #37C2B5 #B537C2
tetradic
#C2B537 #37C270 #3744C2 #C2378A
square
#C2B537 #37C270 #3744C2 #C2378A
split-complementary
#C2B537 #378AC2 #7037C2
monochromatic
#635C1C #928929 #C2B537 #D3C863 #E0D993

Accessibility & contrast

On white

2.11
#C2B537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C2B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B537
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B537#FFFFFF#000000##000000
##C2B5371.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF22
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b537;
/* rgb */ color: rgb(194, 181, 55);
/* oklch */ color: oklch(76.2% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#d8ca76',
    500: '#c2b537',
    950: '#000000',
  },
}
SCSS
$custom: #c2b537;
$custom-light: #d8ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b537",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 54.388,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76187,
    "c": 0.14176,
    "h": 103.3
  },
  "luminance": 0.44793
}

Semantic roles & 50–950 ramp

primary
#C2B537
secondary
#8990CB
accent
#57DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B537

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

Preview Lab → · Contrast checker → · Palette generator →

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