#C4C139#C4C139

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

Color values

HEX#C4C139
RGBrgb(196, 193, 57)
HSLhsl(59, 55%, 50%)
HSVhsv(59, 71%, 77%)
CMYKcmyk(0%, 1.5%, 70.9%, 23.1%)
CIE-LABlab(76.17, -14.74, 64.90)
CIE-LCHlch(76.17, 66.56, 102.79°)
OKLaboklab(78.96% -0.0471 0.1438)
OKLCHoklch(78.96% 0.151 108.1)
XYZxyz(42.5750, 50.1725, 11.3117)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C139 #393CC4
analogous
#C47C39 #C4C139 #82C439
triadic
#C4C139 #39C4C1 #C139C4
tetradic
#C4C139 #39C47C #393CC4 #C43982
square
#C4C139 #39C47C #393CC4 #C43982
split-complementary
#C4C139 #3982C4 #7C39C4
monochromatic
#65641D #95922B #C4C139 #D3D167 #E1DF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C139#FFFFFF#000000##000000
##C4C1391.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)
#D1B921
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#D2B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c139;
/* rgb */ color: rgb(196, 193, 57);
/* oklch */ color: oklch(79.0% 0.151 108.1);
Tailwind
colors: {
  custom: {
    50: '#d9d378',
    500: '#c4c139',
    950: '#000000',
  },
}
SCSS
$custom: #c4c139;
$custom-light: #d9d378;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c139",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 58.705,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78955,
    "c": 0.15137,
    "h": 108.1
  },
  "luminance": 0.50171
}

Semantic roles & 50–950 ramp

primary
#C4C139
secondary
#323370
accent
#4DDE4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C139

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

Preview Lab → · Contrast checker → · Palette generator →

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