#C4C339#C4C339

#C4C339 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.153 H 109.0°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C4C339
RGBrgb(196, 195, 57)
HSLhsl(60, 55%, 50%)
HSVhsv(60, 71%, 77%)
CMYKcmyk(0%, 0.5%, 70.9%, 23.1%)
CIE-LABlab(76.72, -15.75, 65.43)
CIE-LCHlch(76.72, 67.30, 103.53°)
OKLaboklab(79.39% -0.05 0.145)
OKLCHoklch(79.39% 0.153 109)
XYZxyz(43.0201, 51.0627, 11.4600)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C339 #393AC4
analogous
#C47D39 #C4C339 #80C439
triadic
#C4C339 #39C4C3 #C339C4
tetradic
#C4C339 #39C47D #393AC4 #C43980
square
#C4C339 #39C47D #393AC4 #C43980
split-complementary
#C4C339 #3980C4 #7D39C4
monochromatic
#65651D #95942B #C4C339 #D3D267 #E1E097

Accessibility & contrast

On white

1.87
#C4C339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#C4C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C339
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C339#FFFFFF#000000##000000
##C4C3391.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB20
Deuteranopia (green-blind)
#D5BF43
Tritanopia (blue-blind)
#D2B7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c339;
/* rgb */ color: rgb(196, 195, 57);
/* oklch */ color: oklch(79.4% 0.153 109.0);
Tailwind
colors: {
  custom: {
    50: '#d9d479',
    500: '#c4c339',
    950: '#000000',
  },
}
SCSS
$custom: #c4c339;
$custom-light: #d9d479;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c339",
  "rgb": {
    "r": 196,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 59.568,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79388,
    "c": 0.15332,
    "h": 109
  },
  "luminance": 0.51061
}

Semantic roles & 50–950 ramp

primary
#C4C339
secondary
#323270
accent
#4BDE4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C339

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

Preview Lab → · Contrast checker → · Palette generator →

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