#C2B129#C2B129

#C2B129 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.146 H 101.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#C2B129
RGBrgb(194, 177, 41)
HSLhsl(53, 65%, 46%)
HSVhsv(53, 79%, 76%)
CMYKcmyk(0%, 8.8%, 78.9%, 23.9%)
CIE-LABlab(71.61, -8.07, 65.94)
CIE-LCHlch(71.61, 66.43, 96.98°)
OKLaboklab(75.25% -0.0298 0.1431)
OKLCHoklch(75.25% 0.146 101.8)
XYZxyz(38.3724, 43.0755, 8.3906)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B129 #293AC2
analogous
#C26429 #C2B129 #86C229
triadic
#C2B129 #29C2B1 #B129C2
tetradic
#C2B129 #29C264 #293AC2 #C22986
square
#C2B129 #29C264 #293AC2 #C22986
split-complementary
#C2B129 #2986C2 #6429C2
monochromatic
#5D5514 #8F831E #C2B129 #DACA4E #E4D981

Accessibility & contrast

On white

2.18
#C2B129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#C2B129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B129
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B129#FFFFFF#000000##000000
##C2B1291.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C7B234
Tritanopia (blue-blind)
#D1A498
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b129;
/* rgb */ color: rgb(194, 177, 41);
/* oklch */ color: oklch(75.2% 0.146 101.8);
Tailwind
colors: {
  custom: {
    50: '#d9c76f',
    500: '#c2b129',
    950: '#000000',
  },
}
SCSS
$custom: #c2b129;
$custom-light: #d9c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b129",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 41
  },
  "hsl": {
    "h": 53.333,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75248,
    "c": 0.14621,
    "h": 101.8
  },
  "luminance": 0.43074
}

Semantic roles & 50–950 ramp

primary
#C2B129
secondary
#7A83CD
accent
#52E840
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C2B129

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

Preview Lab → · Contrast checker → · Palette generator →

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