#C2B045#C2B045

#C2B045 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.128 H 99.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C2B045
RGBrgb(194, 176, 69)
HSLhsl(51, 51%, 52%)
HSVhsv(51, 64%, 76%)
CMYKcmyk(0%, 9.3%, 64.4%, 23.9%)
CIE-LABlab(71.52, -6.18, 55.35)
CIE-LCHlch(71.52, 55.69, 96.37°)
OKLaboklab(75.24% -0.0215 0.1257)
OKLCHoklch(75.24% 0.128 99.7)
XYZxyz(38.8493, 42.9514, 11.8732)
Luminance0.4295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B045 #4557C2
analogous
#C27245 #C2B045 #96C245
triadic
#C2B045 #45C2B0 #B045C2
tetradic
#C2B045 #45C272 #4557C2 #C24596
square
#C2B045 #45C272 #4557C2 #C24596
split-complementary
#C2B045 #4596C2 #7245C2
monochromatic
#6A6023 #988932 #C2B045 #D1C473 #E0D7A1

Accessibility & contrast

On white

2.19
#C2B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#C2B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B045
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B045#FFFFFF#000000##000000
##C2B0451.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB38
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#D0A499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b045;
/* rgb */ color: rgb(194, 176, 69);
/* oklch */ color: oklch(75.2% 0.128 99.7);
Tailwind
colors: {
  custom: {
    50: '#d8c77e',
    500: '#c2b045',
    950: '#000000',
  },
}
SCSS
$custom: #c2b045;
$custom-light: #d8c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b045",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 51.36,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7524,
    "c": 0.12755,
    "h": 99.7
  },
  "luminance": 0.4295
}

Semantic roles & 50–950 ramp

primary
#C2B045
secondary
#969ECD
accent
#62DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B045

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

Preview Lab → · Contrast checker → · Palette generator →

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