#C3C838#C3C838

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

Color values

HEX#C3C838
RGBrgb(195, 200, 56)
HSLhsl(62, 57%, 50%)
HSVhsv(62, 72%, 78%)
CMYKcmyk(2.5%, 0%, 72%, 21.6%)
CIE-LABlab(77.99, -18.71, 66.98)
CIE-LCHlch(77.99, 69.54, 105.61°)
OKLaboklab(80.38% -0.0583 0.1481)
OKLCHoklch(80.38% 0.159 111.5)
XYZxyz(43.8752, 53.1973, 11.6975)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C838 #3D38C8
analogous
#C88538 #C3C838 #7BC838
triadic
#C3C838 #38C3C8 #C838C3
tetradic
#C3C838 #38C885 #3D38C8 #C8387B
square
#C3C838 #38C885 #3D38C8 #C8387B
split-complementary
#C3C838 #387BC8 #8538C8
monochromatic
#66691D #95992A #C3C838 #D1D568 #E0E398

Accessibility & contrast

On white

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

On black

11.64
#C3C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C838
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C838#FFFFFF#000000##000000
##C3C8381.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1C
Deuteranopia (green-blind)
#D8C343
Tritanopia (blue-blind)
#D0BCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c3c838;
/* rgb */ color: rgb(195, 200, 56);
/* oklch */ color: oklch(80.4% 0.159 111.5);
Tailwind
colors: {
  custom: {
    50: '#d9d879',
    500: '#c3c838',
    950: '#000000',
  },
}
SCSS
$custom: #c3c838;
$custom-light: #d9d879;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c838",
  "rgb": {
    "r": 195,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 62.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80385,
    "c": 0.15914,
    "h": 111.5
  },
  "luminance": 0.53196
}

Semantic roles & 50–950 ramp

primary
#C3C838
secondary
#343273
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C838

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

Preview Lab → · Contrast checker → · Palette generator →

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