#C3C338#C3C338

#C3C338 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.154 H 109.5°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#C3C338
RGBrgb(195, 195, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.63, -16.22, 65.67)
CIE-LCHlch(76.63, 67.64, 103.87°)
OKLaboklab(79.3% -0.0513 0.1453)
OKLCHoklch(79.3% 0.154 109.5)
XYZxyz(42.7361, 50.9191, 11.3178)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C338 #3838C3
analogous
#C37E38 #C3C338 #7EC338
triadic
#C3C338 #38C3C3 #C338C3
tetradic
#C3C338 #38C37E #3838C3 #C3387E
square
#C3C338 #38C37E #3838C3 #C3387E
split-complementary
#C3C338 #387EC3 #7E38C3
monochromatic
#64641D #93932A #C3C338 #D3D365 #E1E195

Accessibility & contrast

On white

1.88
#C3C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#C3C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C338
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C338#FFFFFF#000000##000000
##C3C3381.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#D1B7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c3c338;
/* rgb */ color: rgb(195, 195, 56);
/* oklch */ color: oklch(79.3% 0.154 109.5);
Tailwind
colors: {
  custom: {
    50: '#d9d478',
    500: '#c3c338',
    950: '#000000',
  },
}
SCSS
$custom: #c3c338;
$custom-light: #d9d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c338",
  "rgb": {
    "r": 195,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79296,
    "c": 0.15412,
    "h": 109.5
  },
  "luminance": 0.50918
}

Semantic roles & 50–950 ramp

primary
#C3C338
secondary
#31316E
accent
#49DF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C338

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

Preview Lab → · Contrast checker → · Palette generator →

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