#C3C840#C3C840

#C3C840 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.4% C 0.154 H 111.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#C3C840
RGBrgb(195, 200, 64)
HSLhsl(62, 55%, 52%)
HSVhsv(62, 68%, 78%)
CMYKcmyk(2.5%, 0%, 68%, 21.6%)
CIE-LABlab(78.04, -18.31, 64.14)
CIE-LCHlch(78.04, 66.70, 105.93°)
OKLaboklab(80.44% -0.0564 0.1434)
OKLCHoklch(80.44% 0.154 111.5)
XYZxyz(44.0867, 53.2819, 12.8116)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C840 #4540C8
analogous
#C88940 #C3C840 #7FC840
triadic
#C3C840 #40C3C8 #C840C3
tetradic
#C3C840 #40C889 #4540C8 #C8407F
square
#C3C840 #40C889 #4540C8 #C8407F
split-complementary
#C3C840 #407FC8 #8940C8
monochromatic
#6B6E20 #999D2D #C3C840 #D2D670 #E1E39F

Accessibility & contrast

On white

1.80
#C3C840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#C3C840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C840
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C840#FFFFFF#000000##000000
##C3C8401.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#D0BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c3c840;
/* rgb */ color: rgb(195, 200, 64);
/* oklch */ color: oklch(80.4% 0.154 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d87d',
    500: '#c3c840',
    950: '#000000',
  },
}
SCSS
$custom: #c3c840;
$custom-light: #d8d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c840",
  "rgb": {
    "r": 195,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 62.206,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.8044,
    "c": 0.15413,
    "h": 111.5
  },
  "luminance": 0.53281
}

Semantic roles & 50–950 ramp

primary
#C3C840
secondary
#373577
accent
#49DF4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C840

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

Preview Lab → · Contrast checker → · Palette generator →

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