#C3B538#C3B538

#C3B538 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.141 H 102.8°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C3B538
RGBrgb(195, 181, 56)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 76%)
CMYKcmyk(0%, 7.2%, 71.3%, 23.5%)
CIE-LABlab(72.85, -9.08, 62.00)
CIE-LCHlch(72.85, 62.66, 98.33°)
OKLaboklab(76.29% -0.0313 0.1376)
OKLCHoklch(76.29% 0.141 102.8)
XYZxyz(39.7451, 44.9370, 10.3208)
Luminance0.4494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B538 #3846C3
analogous
#C37038 #C3B538 #8CC338
triadic
#C3B538 #38C3B5 #B538C3
tetradic
#C3B538 #38C370 #3846C3 #C3388C
square
#C3B538 #38C370 #3846C3 #C3388C
split-complementary
#C3B538 #388CC3 #7038C3
monochromatic
#645D1D #93892A #C3B538 #D3C865 #E1D995

Accessibility & contrast

On white

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

On black

9.99
#C3B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B538
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B538#FFFFFF#000000##000000
##C3B5381.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF24
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#D2A89C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c3b538;
/* rgb */ color: rgb(195, 181, 56);
/* oklch */ color: oklch(76.3% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#d9ca77',
    500: '#c3b538',
    950: '#000000',
  },
}
SCSS
$custom: #c3b538;
$custom-light: #d9ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b538",
  "rgb": {
    "r": 195,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 53.957,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76285,
    "c": 0.14108,
    "h": 102.8
  },
  "luminance": 0.44935
}

Semantic roles & 50–950 ramp

primary
#C3B538
secondary
#8B92CC
accent
#58DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C3B538

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

Preview Lab → · Contrast checker → · Palette generator →

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