#C2B545#C2B545

#C2B545 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.132 H 102.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C2B545
RGBrgb(194, 181, 69)
HSLhsl(54, 51%, 52%)
HSVhsv(54, 64%, 76%)
CMYKcmyk(0%, 6.7%, 64.4%, 23.9%)
CIE-LABlab(72.86, -8.79, 56.77)
CIE-LCHlch(72.86, 57.44, 98.80°)
OKLaboklab(76.3% -0.029 0.1287)
OKLCHoklch(76.3% 0.132 102.7)
XYZxyz(39.8478, 44.9483, 12.2060)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B545 #4552C2
analogous
#C27745 #C2B545 #91C245
triadic
#C2B545 #45C2B5 #B545C2
tetradic
#C2B545 #45C277 #4552C2 #C24591
square
#C2B545 #45C277 #4552C2 #C24591
split-complementary
#C2B545 #4591C2 #7745C2
monochromatic
#6A6223 #988D32 #C2B545 #D1C773 #E0DAA1

Accessibility & contrast

On white

2.10
#C2B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C2B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B545
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B545#FFFFFF#000000##000000
##C2B5451.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF37
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#D0A99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b545;
/* rgb */ color: rgb(194, 181, 69);
/* oklch */ color: oklch(76.3% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#d8ca7e',
    500: '#c2b545',
    950: '#000000',
  },
}
SCSS
$custom: #c2b545;
$custom-light: #d8ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b545",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 53.76,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.763,
    "c": 0.13194,
    "h": 102.7
  },
  "luminance": 0.44947
}

Semantic roles & 50–950 ramp

primary
#C2B545
secondary
#969CCD
accent
#5CDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B545

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

Preview Lab → · Contrast checker → · Palette generator →

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