#C2B549#C2B549

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

Color values

HEX#C2B549
RGBrgb(194, 181, 73)
HSLhsl(54, 50%, 52%)
HSVhsv(54, 62%, 76%)
CMYKcmyk(0%, 6.7%, 62.4%, 23.9%)
CIE-LABlab(72.89, -8.53, 55.08)
CIE-LCHlch(72.89, 55.74, 98.81°)
OKLaboklab(76.34% -0.0278 0.1257)
OKLCHoklch(76.34% 0.129 102.5)
XYZxyz(39.9761, 44.9997, 12.8821)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B549 #4956C2
analogous
#C27949 #C2B549 #92C249
triadic
#C2B549 #49C2B5 #B549C2
tetradic
#C2B549 #49C279 #4956C2 #C24992
square
#C2B549 #49C279 #4956C2 #C24992
split-complementary
#C2B549 #4992C2 #7949C2
monochromatic
#6C6524 #9A8F34 #C2B549 #D1C877 #E1DAA5

Accessibility & contrast

On white

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

On black

10.00
#C2B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B549
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B549#FFFFFF#000000##000000
##C2B5491.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b549;
/* rgb */ color: rgb(194, 181, 73);
/* oklch */ color: oklch(76.3% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#d7ca80',
    500: '#c2b549',
    950: '#000000',
  },
}
SCSS
$custom: #c2b549;
$custom-light: #d7ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b549",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 53.554,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76338,
    "c": 0.12876,
    "h": 102.5
  },
  "luminance": 0.44998
}

Semantic roles & 50–950 ramp

primary
#C2B549
secondary
#999FCE
accent
#5DD94E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B549

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

Preview Lab → · Contrast checker → · Palette generator →

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