#C2B536#C2B536

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

Color values

HEX#C2B536
RGBrgb(194, 181, 54)
HSLhsl(54, 56%, 49%)
HSVhsv(54, 72%, 76%)
CMYKcmyk(0%, 6.7%, 72.2%, 23.9%)
CIE-LABlab(72.75, -9.61, 62.61)
CIE-LCHlch(72.75, 63.35, 98.72°)
OKLaboklab(76.18% -0.0329 0.1385)
OKLCHoklch(76.18% 0.142 103.4)
XYZxyz(39.4396, 44.7851, 10.0562)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B536 #3643C2
analogous
#C26F36 #C2B536 #89C236
triadic
#C2B536 #36C2B5 #B536C2
tetradic
#C2B536 #36C26F #3643C2 #C23689
square
#C2B536 #36C26F #3643C2 #C23689
split-complementary
#C2B536 #3689C2 #6F36C2
monochromatic
#625C1B #928829 #C2B536 #D3C962 #E1D992

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B536#FFFFFF#000000##000000
##C2B5361.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)
#C5AF20
Deuteranopia (green-blind)
#CAB53F
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b536;
/* rgb */ color: rgb(194, 181, 54);
/* oklch */ color: oklch(76.2% 0.142 103.4);
Tailwind
colors: {
  custom: {
    50: '#d8ca76',
    500: '#c2b536',
    950: '#000000',
  },
}
SCSS
$custom: #c2b536;
$custom-light: #d8ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b536",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 54.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7618,
    "c": 0.14239,
    "h": 103.4
  },
  "luminance": 0.44783
}

Semantic roles & 50–950 ramp

primary
#C2B536
secondary
#888FCC
accent
#56E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B536

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

Preview Lab → · Contrast checker → · Palette generator →

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