#C3C138#C3C138

#C3C138 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.152 H 108.6°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C3C138
RGBrgb(195, 193, 56)
HSLhsl(59, 55%, 49%)
HSVhsv(59, 71%, 76%)
CMYKcmyk(0%, 1%, 71.3%, 23.5%)
CIE-LABlab(76.09, -15.21, 65.15)
CIE-LCHlch(76.09, 66.90, 103.14°)
OKLaboklab(78.86% -0.0485 0.1442)
OKLCHoklch(78.86% 0.152 108.6)
XYZxyz(42.2910, 50.0289, 11.1694)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C138 #383AC3
analogous
#C37C38 #C3C138 #80C338
triadic
#C3C138 #38C3C1 #C138C3
tetradic
#C3C138 #38C37C #383AC3 #C33880
square
#C3C138 #38C37C #383AC3 #C33880
split-complementary
#C3C138 #3880C3 #7C38C3
monochromatic
#64631D #93922A #C3C138 #D3D165 #E1DF95

Accessibility & contrast

On white

1.91
#C3C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C3C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C138
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C138#FFFFFF#000000##000000
##C3C1381.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#D1B5A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c3c138;
/* rgb */ color: rgb(195, 193, 56);
/* oklch */ color: oklch(78.9% 0.152 108.6);
Tailwind
colors: {
  custom: {
    50: '#d9d378',
    500: '#c3c138',
    950: '#000000',
  },
}
SCSS
$custom: #c3c138;
$custom-light: #d9d378;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c138",
  "rgb": {
    "r": 195,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 59.137,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78863,
    "c": 0.15216,
    "h": 108.6
  },
  "luminance": 0.50028
}

Semantic roles & 50–950 ramp

primary
#C3C138
secondary
#31326E
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C3C138

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

Preview Lab → · Contrast checker → · Palette generator →

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