#C2B529#C2B529

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

Color values

HEX#C2B529
RGBrgb(194, 181, 41)
HSLhsl(55, 65%, 46%)
HSVhsv(55, 79%, 76%)
CMYKcmyk(0%, 6.7%, 78.9%, 23.9%)
CIE-LABlab(72.68, -10.14, 66.89)
CIE-LCHlch(72.68, 67.66, 98.62°)
OKLaboklab(76.1% -0.0356 0.1452)
OKLCHoklch(76.1% 0.15 103.8)
XYZxyz(39.1740, 44.6788, 8.6578)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B529 #2936C2
analogous
#C26829 #C2B529 #82C229
triadic
#C2B529 #29C2B5 #B529C2
tetradic
#C2B529 #29C268 #2936C2 #C22982
square
#C2B529 #29C268 #2936C2 #C22982
split-complementary
#C2B529 #2982C2 #6829C2
monochromatic
#5D5714 #8F861E #C2B529 #DACE4E #E4DC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B529#FFFFFF#000000##000000
##C2B5291.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)
#C6AF00
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#D1A89B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b529;
/* rgb */ color: rgb(194, 181, 41);
/* oklch */ color: oklch(76.1% 0.149 103.8);
Tailwind
colors: {
  custom: {
    50: '#d9ca6f',
    500: '#c2b529',
    950: '#000000',
  },
}
SCSS
$custom: #c2b529;
$custom-light: #d9ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b529",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 41
  },
  "hsl": {
    "h": 54.902,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76102,
    "c": 0.1495,
    "h": 103.8
  },
  "luminance": 0.44677
}

Semantic roles & 50–950 ramp

primary
#C2B529
secondary
#7A81CD
accent
#4EE840
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C2B529

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

Preview Lab → · Contrast checker → · Palette generator →

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