#C3B042#C3B042

#C3B042 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.130 H 99.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#C3B042
RGBrgb(195, 176, 66)
HSLhsl(51, 52%, 51%)
HSVhsv(51, 66%, 76%)
CMYKcmyk(0%, 9.7%, 66.2%, 23.5%)
CIE-LABlab(71.59, -5.94, 56.73)
CIE-LCHlch(71.59, 57.04, 95.97°)
OKLaboklab(75.31% -0.0212 0.1281)
OKLCHoklch(75.31% 0.13 99.4)
XYZxyz(39.0161, 43.0479, 11.4071)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B042 #4255C3
analogous
#C36F42 #C3B042 #95C342
triadic
#C3B042 #42C3B0 #B042C3
tetradic
#C3B042 #42C36F #4255C3 #C34295
square
#C3B042 #42C36F #4255C3 #C34295
split-complementary
#C3B042 #4295C3 #6F42C3
monochromatic
#695F21 #988830 #C3B042 #D2C370 #E0D79F

Accessibility & contrast

On white

2.19
#C3B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#C3B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B042
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B042#FFFFFF#000000##000000
##C3B0421.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C6B248
Tritanopia (blue-blind)
#D2A499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c3b042;
/* rgb */ color: rgb(195, 176, 66);
/* oklch */ color: oklch(75.3% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#d8c77c',
    500: '#c3b042',
    950: '#000000',
  },
}
SCSS
$custom: #c3b042;
$custom-light: #d8c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b042",
  "rgb": {
    "r": 195,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 51.163,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75305,
    "c": 0.12989,
    "h": 99.4
  },
  "luminance": 0.43046
}

Semantic roles & 50–950 ramp

primary
#C3B042
secondary
#949CCD
accent
#62DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3B042

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

Preview Lab → · Contrast checker → · Palette generator →

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