#C3A238#C3A238

#C3A238 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.127 H 91.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C3A238
RGBrgb(195, 162, 56)
HSLhsl(46, 55%, 49%)
HSVhsv(46, 71%, 76%)
CMYKcmyk(0%, 16.9%, 71.3%, 23.5%)
CIE-LABlab(67.82, 0.94, 57.01)
CIE-LCHlch(67.82, 57.02, 89.06°)
OKLaboklab(72.3% -0.0027 0.127)
OKLCHoklch(72.3% 0.127 91.2)
XYZxyz(36.1418, 37.7304, 9.1197)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A238 #3859C3
analogous
#C35C38 #C3A238 #9FC338
triadic
#C3A238 #38C3A2 #A238C3
tetradic
#C3A238 #38C35C #3859C3 #C3389F
square
#C3A238 #38C35C #3859C3 #C3389F
split-complementary
#C3A238 #389FC3 #5C38C3
monochromatic
#64531D #937B2A #C3A238 #D3B965 #E1CF95

Accessibility & contrast

On white

2.46
#C3A238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C3A238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A238
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A238#FFFFFF#000000##000000
##C3A2381.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#D3958D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a238;
/* rgb */ color: rgb(195, 162, 56);
/* oklch */ color: oklch(72.3% 0.127 91.2);
Tailwind
colors: {
  custom: {
    50: '#d9bd75',
    500: '#c3a238',
    950: '#000000',
  },
}
SCSS
$custom: #c3a238;
$custom-light: #d9bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a238",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 45.755,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72302,
    "c": 0.12705,
    "h": 91.2
  },
  "luminance": 0.37728
}

Semantic roles & 50–950 ramp

primary
#C3A238
secondary
#8B9ACC
accent
#6DDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A238

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

Preview Lab → · Contrast checker → · Palette generator →

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