#C2B149#C2B149

#C2B149 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.125 H 100.0°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C2B149
RGBrgb(194, 177, 73)
HSLhsl(52, 50%, 52%)
HSVhsv(52, 62%, 76%)
CMYKcmyk(0%, 8.8%, 62.4%, 23.9%)
CIE-LABlab(71.82, -6.45, 53.92)
CIE-LCHlch(71.82, 54.30, 96.82°)
OKLaboklab(75.49% -0.0218 0.1233)
OKLCHoklch(75.49% 0.125 100)
XYZxyz(39.1744, 43.3963, 12.6149)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B149 #495AC2
analogous
#C27449 #C2B149 #97C249
triadic
#C2B149 #49C2B1 #B149C2
tetradic
#C2B149 #49C274 #495AC2 #C24997
square
#C2B149 #49C274 #495AC2 #C24997
split-complementary
#C2B149 #4997C2 #7449C2
monochromatic
#6C6224 #9A8C34 #C2B149 #D1C577 #E1D8A5

Accessibility & contrast

On white

2.17
#C2B149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C2B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B149
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B149#FFFFFF#000000##000000
##C2B1491.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3D
Deuteranopia (green-blind)
#C5B34E
Tritanopia (blue-blind)
#D0A59B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b149;
/* rgb */ color: rgb(194, 177, 73);
/* oklch */ color: oklch(75.5% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#d7c880',
    500: '#c2b149',
    950: '#000000',
  },
}
SCSS
$custom: #c2b149;
$custom-light: #d7c880;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b149",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 51.57,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7549,
    "c": 0.12519,
    "h": 100
  },
  "luminance": 0.43395
}

Semantic roles & 50–950 ramp

primary
#C2B149
secondary
#99A0CE
accent
#62D94E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B149

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

Preview Lab → · Contrast checker → · Palette generator →

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