#C4C338#C4C338

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

Color values

HEX#C4C338
RGBrgb(196, 195, 56)
HSLhsl(60, 56%, 49%)
HSVhsv(60, 71%, 77%)
CMYKcmyk(0%, 0.5%, 71.4%, 23.1%)
CIE-LABlab(76.71, -15.79, 65.78)
CIE-LCHlch(76.71, 67.65, 103.50°)
OKLaboklab(79.38% -0.0502 0.1455)
OKLCHoklch(79.38% 0.154 109)
XYZxyz(42.9954, 51.0528, 11.3299)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C338 #3839C4
analogous
#C47D38 #C4C338 #7FC438
triadic
#C4C338 #38C4C3 #C338C4
tetradic
#C4C338 #38C47D #3839C4 #C4387F
square
#C4C338 #38C47D #3839C4 #C4387F
split-complementary
#C4C338 #387FC4 #7D38C4
monochromatic
#65641D #94942A #C4C338 #D3D266 #E1E096

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C338#FFFFFF#000000##000000
##C4C3381.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)
#D3BB1E
Deuteranopia (green-blind)
#D5BF42
Tritanopia (blue-blind)
#D2B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c338;
/* rgb */ color: rgb(196, 195, 56);
/* oklch */ color: oklch(79.4% 0.154 109.0);
Tailwind
colors: {
  custom: {
    50: '#d9d478',
    500: '#c4c338',
    950: '#000000',
  },
}
SCSS
$custom: #c4c338;
$custom-light: #d9d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c338",
  "rgb": {
    "r": 196,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 59.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79381,
    "c": 0.15393,
    "h": 109
  },
  "luminance": 0.51051
}

Semantic roles & 50–950 ramp

primary
#C4C338
secondary
#31316F
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C338

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

Preview Lab → · Contrast checker → · Palette generator →

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