#C3AA3B#C3AA3B

#C3AA3B is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.130 H 96.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C3AA3B
RGBrgb(195, 170, 59)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 76%)
CMYKcmyk(0%, 12.8%, 69.7%, 23.5%)
CIE-LABlab(69.94, -3.17, 57.94)
CIE-LCHlch(69.94, 58.02, 93.13°)
OKLaboklab(73.99% -0.0141 0.1295)
OKLCHoklch(73.99% 0.13 96.2)
XYZxyz(37.6717, 40.6693, 10.0025)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AA3B #3B54C3
analogous
#C3663B #C3AA3B #98C33B
triadic
#C3AA3B #3BC3AA #AA3BC3
tetradic
#C3AA3B #3BC366 #3B54C3 #C33B98
square
#C3AA3B #3BC366 #3B54C3 #C33B98
split-complementary
#C3AA3B #3B98C3 #663BC3
monochromatic
#65581F #94812D #C3AA3B #D2BF69 #E0D398

Accessibility & contrast

On white

2.30
#C3AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C3AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AA3B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AA3B#FFFFFF#000000##000000
##C3AA3B1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62B
Deuteranopia (green-blind)
#C2AE41
Tritanopia (blue-blind)
#D29D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c3aa3b;
/* rgb */ color: rgb(195, 170, 59);
/* oklch */ color: oklch(74.0% 0.130 96.2);
Tailwind
colors: {
  custom: {
    50: '#d9c277',
    500: '#c3aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #c3aa3b;
$custom-light: #d9c277;
$custom-dark: #000000;
JSON
{
  "hex": "#c3aa3b",
  "rgb": {
    "r": 195,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 48.971,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73986,
    "c": 0.13028,
    "h": 96.2
  },
  "luminance": 0.40667
}

Semantic roles & 50–950 ramp

primary
#C3AA3B
secondary
#8E99CC
accent
#66DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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