#C2B629#C2B629

#C2B629 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.3% C 0.150 H 104.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#C2B629
RGBrgb(194, 182, 41)
HSLhsl(55, 65%, 46%)
HSVhsv(55, 79%, 76%)
CMYKcmyk(0%, 6.2%, 78.9%, 23.9%)
CIE-LABlab(72.95, -10.66, 67.13)
CIE-LCHlch(72.95, 67.97, 99.02°)
OKLaboklab(76.32% -0.037 0.1457)
OKLCHoklch(76.32% 0.15 104.3)
XYZxyz(39.3781, 45.0870, 8.7258)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B629 #2935C2
analogous
#C26929 #C2B629 #81C229
triadic
#C2B629 #29C2B6 #B629C2
tetradic
#C2B629 #29C269 #2935C2 #C22981
square
#C2B629 #29C269 #2935C2 #C22981
split-complementary
#C2B629 #2981C2 #6929C2
monochromatic
#5D5714 #8F871E #C2B629 #DACF4E #E4DD81

Accessibility & contrast

On white

2.10
#C2B629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#C2B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B629
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B629#FFFFFF#000000##000000
##C2B6291.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#D1A99C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b629;
/* rgb */ color: rgb(194, 182, 41);
/* oklch */ color: oklch(76.3% 0.150 104.3);
Tailwind
colors: {
  custom: {
    50: '#d9cb70',
    500: '#c2b629',
    950: '#000000',
  },
}
SCSS
$custom: #c2b629;
$custom-light: #d9cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b629",
  "rgb": {
    "r": 194,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 55.294,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76316,
    "c": 0.15035,
    "h": 104.3
  },
  "luminance": 0.45085
}

Semantic roles & 50–950 ramp

primary
#C2B629
secondary
#7A80CD
accent
#4DE840
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C2B629

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

Preview Lab → · Contrast checker → · Palette generator →

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