#C2B546#C2B546

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

Color values

HEX#C2B546
RGBrgb(194, 181, 70)
HSLhsl(54, 50%, 52%)
HSVhsv(54, 64%, 76%)
CMYKcmyk(0%, 6.7%, 63.9%, 23.9%)
CIE-LABlab(72.87, -8.73, 56.35)
CIE-LCHlch(72.87, 57.02, 98.80°)
OKLaboklab(76.31% -0.0287 0.128)
OKLCHoklch(76.31% 0.131 102.6)
XYZxyz(39.8791, 44.9608, 12.3709)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B546 #4653C2
analogous
#C27746 #C2B546 #91C246
triadic
#C2B546 #46C2B5 #B546C2
tetradic
#C2B546 #46C277 #4653C2 #C24691
square
#C2B546 #46C277 #4653C2 #C24691
split-complementary
#C2B546 #4691C2 #7746C2
monochromatic
#6A6323 #998E32 #C2B546 #D1C774 #E0DAA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B546#FFFFFF#000000##000000
##C2B5461.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)
#C5AF38
Deuteranopia (green-blind)
#C9B54C
Tritanopia (blue-blind)
#D0A99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b546;
/* rgb */ color: rgb(194, 181, 70);
/* oklch */ color: oklch(76.3% 0.131 102.6);
Tailwind
colors: {
  custom: {
    50: '#d7ca7f',
    500: '#c2b546',
    950: '#000000',
  },
}
SCSS
$custom: #c2b546;
$custom-light: #d7ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b546",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 53.71,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76309,
    "c": 0.13116,
    "h": 102.6
  },
  "luminance": 0.44959
}

Semantic roles & 50–950 ramp

primary
#C2B546
secondary
#979CCD
accent
#5DDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B546

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

Preview Lab → · Contrast checker → · Palette generator →

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