#C2B342#C2B342

#C2B342 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.8% C 0.132 H 101.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#C2B342
RGBrgb(194, 179, 66)
HSLhsl(53, 51%, 51%)
HSVhsv(53, 66%, 76%)
CMYKcmyk(0%, 7.7%, 66%, 23.9%)
CIE-LABlab(72.30, -7.93, 57.44)
CIE-LCHlch(72.30, 57.99, 97.86°)
OKLaboklab(75.85% -0.0269 0.1297)
OKLCHoklch(75.85% 0.132 101.7)
XYZxyz(39.3532, 44.1045, 11.5933)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B342 #4251C2
analogous
#C27342 #C2B342 #91C242
triadic
#C2B342 #42C2B3 #B342C2
tetradic
#C2B342 #42C273 #4251C2 #C24291
square
#C2B342 #42C273 #4251C2 #C24291
split-complementary
#C2B342 #4291C2 #7342C2
monochromatic
#686022 #968A31 #C2B342 #D1C670 #E0D89F

Accessibility & contrast

On white

2.14
#C2B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#C2B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B342
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B342#FFFFFF#000000##000000
##C2B3421.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#D0A79C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b342;
/* rgb */ color: rgb(194, 179, 66);
/* oklch */ color: oklch(75.8% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d8c97c',
    500: '#c2b342',
    950: '#000000',
  },
}
SCSS
$custom: #c2b342;
$custom-light: #d8c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b342",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 52.969,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75848,
    "c": 0.13243,
    "h": 101.7
  },
  "luminance": 0.44103
}

Semantic roles & 50–950 ramp

primary
#C2B342
secondary
#949ACC
accent
#5EDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B342

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

Preview Lab → · Contrast checker → · Palette generator →

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