#C2B029#C2B029

#C2B029 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.145 H 101.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C2B029
RGBrgb(194, 176, 41)
HSLhsl(53, 65%, 46%)
HSVhsv(53, 79%, 76%)
CMYKcmyk(0%, 9.3%, 78.9%, 23.9%)
CIE-LABlab(71.34, -7.55, 65.70)
CIE-LCHlch(71.34, 66.13, 96.56°)
OKLaboklab(75.04% -0.0283 0.1426)
OKLCHoklch(75.04% 0.145 101.2)
XYZxyz(38.1756, 42.6819, 8.3250)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B029 #293BC2
analogous
#C26329 #C2B029 #87C229
triadic
#C2B029 #29C2B0 #B029C2
tetradic
#C2B029 #29C263 #293BC2 #C22987
square
#C2B029 #29C263 #293BC2 #C22987
split-complementary
#C2B029 #2987C2 #6329C2
monochromatic
#5D5414 #8F821E #C2B029 #DAC94E #E4D981

Accessibility & contrast

On white

2.20
#C2B029 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#C2B029 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B029
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B029#FFFFFF#000000##000000
##C2B0291.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB01
Deuteranopia (green-blind)
#C6B234
Tritanopia (blue-blind)
#D1A397
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b029;
/* rgb */ color: rgb(194, 176, 41);
/* oklch */ color: oklch(75.0% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#d9c76f',
    500: '#c2b029',
    950: '#000000',
  },
}
SCSS
$custom: #c2b029;
$custom-light: #d9c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b029",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 41
  },
  "hsl": {
    "h": 52.941,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75036,
    "c": 0.14541,
    "h": 101.2
  },
  "luminance": 0.4268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B029

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

Preview Lab → · Contrast checker → · Palette generator →

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