#C3AB45#C3AB45

#C3AB45 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.124 H 96.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C3AB45
RGBrgb(195, 171, 69)
HSLhsl(49, 51%, 52%)
HSVhsv(49, 65%, 76%)
CMYKcmyk(0%, 12.3%, 64.6%, 23.5%)
CIE-LABlab(70.29, -3.12, 54.06)
CIE-LCHlch(70.29, 54.15, 93.30°)
OKLaboklab(74.28% -0.0128 0.123)
OKLCHoklch(74.28% 0.124 96)
XYZxyz(38.1445, 41.1595, 11.5645)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AB45 #455DC3
analogous
#C36C45 #C3AB45 #9CC345
triadic
#C3AB45 #45C3AB #AB45C3
tetradic
#C3AB45 #45C36C #455DC3 #C3459C
square
#C3AB45 #45C36C #455DC3 #C3459C
split-complementary
#C3AB45 #459CC3 #6C45C3
monochromatic
#6B5D23 #998631 #C3AB45 #D2C073 #E1D5A2

Accessibility & contrast

On white

2.27
#C3AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C3AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AB45
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AB45#FFFFFF#000000##000000
##C3AB451.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#D29F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ab45;
/* rgb */ color: rgb(195, 171, 69);
/* oklch */ color: oklch(74.3% 0.124 96.0);
Tailwind
colors: {
  custom: {
    50: '#d8c37d',
    500: '#c3ab45',
    950: '#000000',
  },
}
SCSS
$custom: #c3ab45;
$custom-light: #d8c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ab45",
  "rgb": {
    "r": 195,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 48.571,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74284,
    "c": 0.12362,
    "h": 96
  },
  "luminance": 0.41158
}

Semantic roles & 50–950 ramp

primary
#C3AB45
secondary
#96A1CE
accent
#68DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C3AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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