#C3C52F#C3C52F

#C3C52F is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.7% C 0.161 H 110.3°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C3C52F
RGBrgb(195, 197, 47)
HSLhsl(61, 61%, 48%)
HSVhsv(61, 76%, 77%)
CMYKcmyk(1%, 0%, 76.1%, 22.7%)
CIE-LABlab(77.13, -17.61, 69.11)
CIE-LCHlch(77.13, 71.31, 104.29°)
OKLaboklab(79.68% -0.056 0.151)
OKLCHoklch(79.68% 0.161 110.3)
XYZxyz(42.9866, 51.7411, 10.4114)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C52F #312FC5
analogous
#C57C2F #C3C52F #78C52F
triadic
#C3C52F #2FC3C5 #C52FC3
tetradic
#C3C52F #2FC57C #312FC5 #C52F78
square
#C3C52F #2FC57C #312FC5 #C52F78
split-complementary
#C3C52F #2F78C5 #7C2FC5
monochromatic
#616217 #929423 #C3C52F #D6D85A #E2E38B

Accessibility & contrast

On white

1.85
#C3C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#C3C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C52F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C52F#FFFFFF#000000##000000
##C3C52F1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC03
Deuteranopia (green-blind)
#D6C03C
Tritanopia (blue-blind)
#D1B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c3c52f;
/* rgb */ color: rgb(195, 197, 47);
/* oklch */ color: oklch(79.7% 0.161 110.3);
Tailwind
colors: {
  custom: {
    50: '#d9d674',
    500: '#c3c52f',
    950: '#000000',
  },
}
SCSS
$custom: #c3c52f;
$custom-light: #d9d674;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c52f",
  "rgb": {
    "r": 195,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 60.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79677,
    "c": 0.16105,
    "h": 110.3
  },
  "luminance": 0.5174
}

Semantic roles & 50–950 ramp

primary
#C3C52F
secondary
#2C2B6D
accent
#43E545
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C3C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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