#C2B451#C2B451

#C2B451 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.121 H 101.3°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#C2B451
RGBrgb(194, 180, 81)
HSLhsl(53, 48%, 54%)
HSVhsv(53, 58%, 76%)
CMYKcmyk(0%, 7.2%, 58.2%, 23.9%)
CIE-LABlab(72.70, -7.45, 51.26)
CIE-LCHlch(72.70, 51.80, 98.27°)
OKLaboklab(76.21% -0.0238 0.1187)
OKLCHoklch(76.21% 0.121 101.3)
XYZxyz(40.0560, 44.7075, 14.3024)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B451 #515FC2
analogous
#C27C51 #C2B451 #98C251
triadic
#C2B451 #51C2B4 #B451C2
tetradic
#C2B451 #51C27C #515FC2 #C25198
square
#C2B451 #51C27C #515FC2 #C25198
split-complementary
#C2B451 #5198C2 #7C51C2
monochromatic
#716828 #9E9237 #C2B451 #D2C87E #E2DBAC

Accessibility & contrast

On white

2.11
#C2B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#C2B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B451
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B451#FFFFFF#000000##000000
##C2B4511.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#D0A99E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b451;
/* rgb */ color: rgb(194, 180, 81);
/* oklch */ color: oklch(76.2% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#d7ca85',
    500: '#c2b451',
    950: '#000000',
  },
}
SCSS
$custom: #c2b451;
$custom-light: #d7ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b451",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 52.566,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.12103,
    "h": 101.3
  },
  "luminance": 0.44706
}

Semantic roles & 50–950 ramp

primary
#C2B451
secondary
#9FA5D0
accent
#61D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B451

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

Preview Lab → · Contrast checker → · Palette generator →

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