#C3AF26#C3AF26

#C3AF26 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.146 H 100.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C3AF26
RGBrgb(195, 175, 38)
HSLhsl(52, 67%, 46%)
HSVhsv(52, 81%, 76%)
CMYKcmyk(0%, 10.3%, 80.5%, 23.5%)
CIE-LABlab(71.15, -6.69, 66.47)
CIE-LCHlch(71.15, 66.80, 95.75°)
OKLaboklab(74.9% -0.0262 0.1437)
OKLCHoklch(74.9% 0.146 100.3)
XYZxyz(38.1874, 42.4039, 8.0067)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF26 #263AC3
analogous
#C36126 #C3AF26 #88C326
triadic
#C3AF26 #26C3AF #AF26C3
tetradic
#C3AF26 #26C361 #263AC3 #C32688
square
#C3AF26 #26C361 #263AC3 #C32688
split-complementary
#C3AF26 #2688C3 #6126C3
monochromatic
#5D5312 #90811C #C3AF26 #DCC94A #E6D97E

Accessibility & contrast

On white

2.22
#C3AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#C3AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AF26
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AF26#FFFFFF#000000##000000
##C3AF261.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C6B131
Tritanopia (blue-blind)
#D3A296
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c3af26;
/* rgb */ color: rgb(195, 175, 38);
/* oklch */ color: oklch(74.9% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#d9c66d',
    500: '#c3af26',
    950: '#000000',
  },
}
SCSS
$custom: #c3af26;
$custom-light: #d9c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af26",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 52.357,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74902,
    "c": 0.14602,
    "h": 100.3
  },
  "luminance": 0.42402
}

Semantic roles & 50–950 ramp

primary
#C3AF26
secondary
#7782CE
accent
#54EA3E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C3AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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