#C3C540#C3C540

#C3C540 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.151 H 110.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#C3C540
RGBrgb(195, 197, 64)
HSLhsl(61, 53%, 51%)
HSVhsv(61, 68%, 77%)
CMYKcmyk(1%, 0%, 67.5%, 22.7%)
CIE-LABlab(77.22, -16.81, 63.32)
CIE-LCHlch(77.22, 65.51, 104.87°)
OKLaboklab(79.79% -0.0522 0.1417)
OKLCHoklch(79.79% 0.151 110.2)
XYZxyz(43.3988, 51.9060, 12.5822)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C540 #4240C5
analogous
#C58440 #C3C540 #80C540
triadic
#C3C540 #40C3C5 #C540C3
tetradic
#C3C540 #40C584 #4240C5 #C54080
square
#C3C540 #40C584 #4240C5 #C54080
split-complementary
#C3C540 #4080C5 #8440C5
monochromatic
#696A20 #98992F #C3C540 #D2D36F #E0E29E

Accessibility & contrast

On white

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

On black

11.38
#C3C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C540
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C540#FFFFFF#000000##000000
##C3C5401.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2C
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#D0B9AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c3c540;
/* rgb */ color: rgb(195, 197, 64);
/* oklch */ color: oklch(79.8% 0.151 110.2);
Tailwind
colors: {
  custom: {
    50: '#d8d67d',
    500: '#c3c540',
    950: '#000000',
  },
}
SCSS
$custom: #c3c540;
$custom-light: #d8d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c540",
  "rgb": {
    "r": 195,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 60.902,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79788,
    "c": 0.15103,
    "h": 110.2
  },
  "luminance": 0.51905
}

Semantic roles & 50–950 ramp

primary
#C3C540
secondary
#363574
accent
#4BDD4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C540

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

Preview Lab → · Contrast checker → · Palette generator →

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