#C3B342#C3B342

#C3B342 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.9% C 0.132 H 101.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C3B342
RGBrgb(195, 179, 66)
HSLhsl(53, 52%, 51%)
HSVhsv(53, 66%, 76%)
CMYKcmyk(0%, 8.2%, 66.2%, 23.5%)
CIE-LABlab(72.39, -7.50, 57.56)
CIE-LCHlch(72.39, 58.05, 97.43°)
OKLaboklab(75.94% -0.0257 0.1299)
OKLCHoklch(75.94% 0.132 101.2)
XYZxyz(39.6108, 44.2373, 11.6054)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B342 #4252C3
analogous
#C37242 #C3B342 #92C342
triadic
#C3B342 #42C3B3 #B342C3
tetradic
#C3B342 #42C372 #4252C3 #C34292
square
#C3B342 #42C372 #4252C3 #C34292
split-complementary
#C3B342 #4292C3 #7242C3
monochromatic
#696021 #988B30 #C3B342 #D2C670 #E0D89F

Accessibility & contrast

On white

2.13
#C3B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C3B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B342
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B342#FFFFFF#000000##000000
##C3B3421.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3b342;
/* rgb */ color: rgb(195, 179, 66);
/* oklch */ color: oklch(75.9% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#d8c97c',
    500: '#c3b342',
    950: '#000000',
  },
}
SCSS
$custom: #c3b342;
$custom-light: #d8c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b342",
  "rgb": {
    "r": 195,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 52.558,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75939,
    "c": 0.13242,
    "h": 101.2
  },
  "luminance": 0.44236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C3B342

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

Preview Lab → · Contrast checker → · Palette generator →

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