#C3B534#C3B534

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

Color values

HEX#C3B534
RGBrgb(195, 181, 52)
HSLhsl(54, 58%, 48%)
HSVhsv(54, 73%, 76%)
CMYKcmyk(0%, 7.2%, 73.3%, 23.5%)
CIE-LABlab(72.83, -9.27, 63.44)
CIE-LCHlch(72.83, 64.11, 98.31°)
OKLaboklab(76.26% -0.0322 0.1399)
OKLCHoklch(76.26% 0.144 103)
XYZxyz(39.6511, 44.8995, 9.8260)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B534 #3442C3
analogous
#C36D34 #C3B534 #89C334
triadic
#C3B534 #34C3B5 #B534C3
tetradic
#C3B534 #34C36D #3442C3 #C33489
square
#C3B534 #34C36D #3442C3 #C33489
split-complementary
#C3B534 #3489C3 #6D34C3
monochromatic
#625B1A #938827 #C3B534 #D5C960 #E1D990

Accessibility & contrast

On white

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

On black

9.98
#C3B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B534
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B534#FFFFFF#000000##000000
##C3B5341.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3b534;
/* rgb */ color: rgb(195, 181, 52);
/* oklch */ color: oklch(76.3% 0.144 103.0);
Tailwind
colors: {
  custom: {
    50: '#d9ca75',
    500: '#c3b534',
    950: '#000000',
  },
}
SCSS
$custom: #c3b534;
$custom-light: #d9ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b534",
  "rgb": {
    "r": 195,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 54.126,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76257,
    "c": 0.14354,
    "h": 103
  },
  "luminance": 0.44898
}

Semantic roles & 50–950 ramp

primary
#C3B534
secondary
#878ECC
accent
#56E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3B534

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

Preview Lab → · Contrast checker → · Palette generator →

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