#C3A138#C3A138

#C3A138 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.1% C 0.126 H 90.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#C3A138
RGBrgb(195, 161, 56)
HSLhsl(45, 55%, 49%)
HSVhsv(45, 71%, 76%)
CMYKcmyk(0%, 17.4%, 71.3%, 23.5%)
CIE-LABlab(67.56, 1.47, 56.75)
CIE-LCHlch(67.56, 56.77, 88.51°)
OKLaboklab(72.1% -0.0012 0.1265)
OKLCHoklch(72.1% 0.126 90.5)
XYZxyz(35.9663, 37.3795, 9.0612)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A138 #385AC3
analogous
#C35C38 #C3A138 #A0C338
triadic
#C3A138 #38C3A1 #A138C3
tetradic
#C3A138 #38C35C #385AC3 #C338A0
square
#C3A138 #38C35C #385AC3 #C338A0
split-complementary
#C3A138 #38A0C3 #5C38C3
monochromatic
#64521D #937A2A #C3A138 #D3B865 #E1CE95

Accessibility & contrast

On white

2.48
#C3A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#C3A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A138
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A138#FFFFFF#000000##000000
##C3A1381.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#BBA93D
Tritanopia (blue-blind)
#D3948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a138;
/* rgb */ color: rgb(195, 161, 56);
/* oklch */ color: oklch(72.1% 0.126 90.5);
Tailwind
colors: {
  custom: {
    50: '#d9bc75',
    500: '#c3a138',
    950: '#000000',
  },
}
SCSS
$custom: #c3a138;
$custom-light: #d9bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a138",
  "rgb": {
    "r": 195,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 45.324,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72096,
    "c": 0.12647,
    "h": 90.5
  },
  "luminance": 0.37377
}

Semantic roles & 50–950 ramp

primary
#C3A138
secondary
#8B9BCC
accent
#6EDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #C3A138

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

Preview Lab → · Contrast checker → · Palette generator →

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