#C3A23F#C3A23F

#C3A23F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.4% C 0.122 H 90.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C3A23F
RGBrgb(195, 162, 63)
HSLhsl(45, 52%, 51%)
HSVhsv(45, 68%, 76%)
CMYKcmyk(0%, 16.9%, 67.7%, 23.5%)
CIE-LABlab(67.88, 1.32, 54.12)
CIE-LCHlch(67.88, 54.14, 88.61°)
OKLaboklab(72.36% -0.0008 0.1221)
OKLCHoklch(72.36% 0.122 90.4)
XYZxyz(36.3251, 37.8038, 10.0852)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A23F #3F60C3
analogous
#C3603F #C3A23F #A2C33F
triadic
#C3A23F #3FC3A2 #A23FC3
tetradic
#C3A23F #3FC360 #3F60C3 #C33FA2
square
#C3A23F #3FC360 #3F60C3 #C33FA2
split-complementary
#C3A23F #3FA2C3 #603FC3
monochromatic
#675620 #967C2F #C3A23F #D2B96E #E0CF9C

Accessibility & contrast

On white

2.45
#C3A23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C3A23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A23F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A23F#FFFFFF#000000##000000
##C3A23F1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3a23f;
/* rgb */ color: rgb(195, 162, 63);
/* oklch */ color: oklch(72.4% 0.122 90.4);
Tailwind
colors: {
  custom: {
    50: '#d9bd79',
    500: '#c3a23f',
    950: '#000000',
  },
}
SCSS
$custom: #c3a23f;
$custom-light: #d9bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a23f",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 45,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72362,
    "c": 0.12213,
    "h": 90.4
  },
  "luminance": 0.37802
}

Semantic roles & 50–950 ramp

primary
#C3A23F
secondary
#92A0CC
accent
#70DC4C
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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