#C2B837#C2B837

#C2B837 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.144 H 104.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C2B837
RGBrgb(194, 184, 55)
HSLhsl(56, 56%, 49%)
HSVhsv(56, 72%, 76%)
CMYKcmyk(0%, 5.2%, 71.6%, 23.9%)
CIE-LABlab(73.56, -11.11, 63.04)
CIE-LCHlch(73.56, 64.01, 99.99°)
OKLaboklab(76.83% -0.037 0.1396)
OKLCHoklch(76.83% 0.144 104.9)
XYZxyz(40.0799, 46.0277, 10.3867)
Luminance0.4603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B837 #3741C2
analogous
#C27337 #C2B837 #87C237
triadic
#C2B837 #37C2B8 #B837C2
tetradic
#C2B837 #37C273 #3741C2 #C23787
square
#C2B837 #37C273 #3741C2 #C23787
split-complementary
#C2B837 #3787C2 #7337C2
monochromatic
#635E1C #928B29 #C2B837 #D3CB63 #E0DB93

Accessibility & contrast

On white

2.06
#C2B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#C2B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B837
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B837#FFFFFF#000000##000000
##C2B8371.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B221
Deuteranopia (green-blind)
#CCB740
Tritanopia (blue-blind)
#D0AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b837;
/* rgb */ color: rgb(194, 184, 55);
/* oklch */ color: oklch(76.8% 0.144 104.9);
Tailwind
colors: {
  custom: {
    50: '#d8cd76',
    500: '#c2b837',
    950: '#000000',
  },
}
SCSS
$custom: #c2b837;
$custom-light: #d8cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b837",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 55.683,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76829,
    "c": 0.14443,
    "h": 104.9
  },
  "luminance": 0.46026
}

Semantic roles & 50–950 ramp

primary
#C2B837
secondary
#898ECB
accent
#53DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B837

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

Preview Lab → · Contrast checker → · Palette generator →

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