#C4C138#C4C138

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

Color values

HEX#C4C138
RGBrgb(196, 193, 56)
HSLhsl(59, 56%, 49%)
HSVhsv(59, 71%, 77%)
CMYKcmyk(0%, 1.5%, 71.4%, 23.1%)
CIE-LABlab(76.17, -14.79, 65.25)
CIE-LCHlch(76.17, 66.91, 102.77°)
OKLaboklab(78.95% -0.0474 0.1444)
OKLCHoklch(78.95% 0.152 108.2)
XYZxyz(42.5503, 50.1626, 11.1816)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C138 #383BC4
analogous
#C47B38 #C4C138 #81C438
triadic
#C4C138 #38C4C1 #C138C4
tetradic
#C4C138 #38C47B #383BC4 #C43881
square
#C4C138 #38C47B #383BC4 #C43881
split-complementary
#C4C138 #3881C4 #7B38C4
monochromatic
#65631D #94922A #C4C138 #D3D166 #E1DF96

Accessibility & contrast

On white

1.90
#C4C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C4C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C138
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C138#FFFFFF#000000##000000
##C4C1381.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c138;
/* rgb */ color: rgb(196, 193, 56);
/* oklch */ color: oklch(78.9% 0.152 108.2);
Tailwind
colors: {
  custom: {
    50: '#d9d378',
    500: '#c4c138',
    950: '#000000',
  },
}
SCSS
$custom: #c4c138;
$custom-light: #d9d378;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c138",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 58.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78948,
    "c": 0.15198,
    "h": 108.2
  },
  "luminance": 0.50161
}

Semantic roles & 50–950 ramp

primary
#C4C138
secondary
#31326F
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C138

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

Preview Lab → · Contrast checker → · Palette generator →

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