#C3B540#C3B540

#C3B540 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.3% C 0.136 H 102.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C3B540
RGBrgb(195, 181, 64)
HSLhsl(54, 52%, 51%)
HSVhsv(54, 67%, 76%)
CMYKcmyk(0%, 7.2%, 67.2%, 23.5%)
CIE-LABlab(72.91, -8.66, 58.93)
CIE-LCHlch(72.91, 59.56, 98.36°)
OKLaboklab(76.35% -0.0292 0.1325)
OKLCHoklch(76.35% 0.136 102.4)
XYZxyz(39.9566, 45.0217, 11.4348)
Luminance0.4502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B540 #404EC3
analogous
#C37340 #C3B540 #8FC340
triadic
#C3B540 #40C3B5 #B540C3
tetradic
#C3B540 #40C373 #404EC3 #C3408F
square
#C3B540 #40C373 #404EC3 #C3408F
split-complementary
#C3B540 #408FC3 #7340C3
monochromatic
#686021 #978B2F #C3B540 #D2C76F #E0D99D

Accessibility & contrast

On white

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

On black

10.00
#C3B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B540
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B540#FFFFFF#000000##000000
##C3B5401.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#D1A99D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c3b540;
/* rgb */ color: rgb(195, 181, 64);
/* oklch */ color: oklch(76.3% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#d8ca7b',
    500: '#c3b540',
    950: '#000000',
  },
}
SCSS
$custom: #c3b540;
$custom-light: #d8ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b540",
  "rgb": {
    "r": 195,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 53.588,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76347,
    "c": 0.13564,
    "h": 102.4
  },
  "luminance": 0.4502
}

Semantic roles & 50–950 ramp

primary
#C3B540
secondary
#9299CC
accent
#5CDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3B540

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

Preview Lab → · Contrast checker → · Palette generator →

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