#C2B949#C2B949

#C2B949 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.2% C 0.133 H 104.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#C2B949
RGBrgb(194, 185, 73)
HSLhsl(56, 50%, 52%)
HSVhsv(56, 62%, 76%)
CMYKcmyk(0%, 4.6%, 62.4%, 23.9%)
CIE-LABlab(73.97, -10.60, 56.23)
CIE-LCHlch(73.97, 57.23, 100.68°)
OKLaboklab(77.19% -0.0337 0.1282)
OKLCHoklch(77.19% 0.133 104.7)
XYZxyz(40.8012, 46.6497, 13.1571)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B949 #4952C2
analogous
#C27C49 #C2B949 #8FC249
triadic
#C2B949 #49C2B9 #B949C2
tetradic
#C2B949 #49C27C #4952C2 #C2498F
square
#C2B949 #49C27C #4952C2 #C2498F
split-complementary
#C2B949 #498FC2 #7C49C2
monochromatic
#6C6724 #9A9334 #C2B949 #D1CB77 #E1DCA5

Accessibility & contrast

On white

2.03
#C2B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#C2B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B949
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B949#FFFFFF#000000##000000
##C2B9491.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33C
Deuteranopia (green-blind)
#CCB84F
Tritanopia (blue-blind)
#D0ADA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b949;
/* rgb */ color: rgb(194, 185, 73);
/* oklch */ color: oklch(77.2% 0.133 104.7);
Tailwind
colors: {
  custom: {
    50: '#d7cd81',
    500: '#c2b949',
    950: '#000000',
  },
}
SCSS
$custom: #c2b949;
$custom-light: #d7cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b949",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 55.537,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77191,
    "c": 0.13253,
    "h": 104.7
  },
  "luminance": 0.46648
}

Semantic roles & 50–950 ramp

primary
#C2B949
secondary
#999DCE
accent
#59D94E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B949

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

Preview Lab → · Contrast checker → · Palette generator →

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