#C3AB33#C3AB33

#C3AB33 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.1% C 0.136 H 97.4°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C3AB33
RGBrgb(195, 171, 51)
HSLhsl(50, 59%, 48%)
HSVhsv(50, 74%, 76%)
CMYKcmyk(0%, 12.3%, 73.8%, 23.5%)
CIE-LABlab(70.15, -4.09, 61.24)
CIE-LCHlch(70.15, 61.38, 93.82°)
OKLaboklab(74.13% -0.0176 0.135)
OKLCHoklch(74.13% 0.136 97.4)
XYZxyz(37.6680, 40.9689, 9.0550)
Luminance0.4097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB33 #334BC3
analogous
#C36333 #C3AB33 #93C333
triadic
#C3AB33 #33C3AB #AB33C3
tetradic
#C3AB33 #33C363 #334BC3 #C33393
square
#C3AB33 #33C363 #334BC3 #C33393
split-complementary
#C3AB33 #3393C3 #6333C3
monochromatic
#62561A #928026 #C3AB33 #D5C15E #E2D48F

Accessibility & contrast

On white

2.28
#C3AB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#C3AB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AB33
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AB33#FFFFFF#000000##000000
##C3AB331.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#D39E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c3ab33;
/* rgb */ color: rgb(195, 171, 51);
/* oklch */ color: oklch(74.1% 0.136 97.4);
Tailwind
colors: {
  custom: {
    50: '#d9c373',
    500: '#c3ab33',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab33;
$custom-light: #d9c373;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab33",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 50,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.13618,
    "h": 97.4
  },
  "luminance": 0.40967
}

Semantic roles & 50–950 ramp

primary
#C3AB33
secondary
#8691CC
accent
#60E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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