#C2B836#C2B836

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

Color values

HEX#C2B836
RGBrgb(194, 184, 54)
HSLhsl(56, 56%, 49%)
HSVhsv(56, 72%, 76%)
CMYKcmyk(0%, 5.2%, 72.2%, 23.9%)
CIE-LABlab(73.56, -11.15, 63.39)
CIE-LCHlch(73.56, 64.37, 99.98°)
OKLaboklab(76.82% -0.0372 0.1402)
OKLCHoklch(76.82% 0.145 104.9)
XYZxyz(40.0561, 46.0182, 10.2618)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B836 #3640C2
analogous
#C27236 #C2B836 #86C236
triadic
#C2B836 #36C2B8 #B836C2
tetradic
#C2B836 #36C272 #3640C2 #C23686
square
#C2B836 #36C272 #3640C2 #C23686
split-complementary
#C2B836 #3686C2 #7236C2
monochromatic
#625D1B #928B29 #C2B836 #D3CB62 #E1DB92

Accessibility & contrast

On white

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

On black

10.20
#C2B836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B836
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B836#FFFFFF#000000##000000
##C2B8361.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b836;
/* rgb */ color: rgb(194, 184, 54);
/* oklch */ color: oklch(76.8% 0.145 104.9);
Tailwind
colors: {
  custom: {
    50: '#d8cd76',
    500: '#c2b836',
    950: '#000000',
  },
}
SCSS
$custom: #c2b836;
$custom-light: #d8cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b836",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 55.714,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76822,
    "c": 0.14505,
    "h": 104.9
  },
  "luminance": 0.46017
}

Semantic roles & 50–950 ramp

primary
#C2B836
secondary
#888DCC
accent
#53E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B836

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

Preview Lab → · Contrast checker → · Palette generator →

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