#C4C334#C4C334

#C4C334 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.4% C 0.156 H 109.1°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#C4C334
RGBrgb(196, 195, 52)
HSLhsl(60, 58%, 49%)
HSVhsv(60, 73%, 77%)
CMYKcmyk(0%, 0.5%, 73.5%, 23.1%)
CIE-LABlab(76.69, -15.97, 67.13)
CIE-LCHlch(76.69, 69.00, 103.39°)
OKLaboklab(79.36% -0.0511 0.1477)
OKLCHoklch(79.36% 0.156 109.1)
XYZxyz(42.9015, 51.0152, 10.8352)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C334 #3435C4
analogous
#C47B34 #C4C334 #7DC434
triadic
#C4C334 #34C4C3 #C334C4
tetradic
#C4C334 #34C47B #3435C4 #C4347D
square
#C4C334 #34C47B #3435C4 #C4347D
split-complementary
#C4C334 #347DC4 #7B34C4
monochromatic
#63631A #949327 #C4C334 #D5D460 #E2E191

Accessibility & contrast

On white

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

On black

11.20
#C4C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C334
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C334#FFFFFF#000000##000000
##C4C3341.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB15
Deuteranopia (green-blind)
#D5BF3F
Tritanopia (blue-blind)
#D2B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c334;
/* rgb */ color: rgb(196, 195, 52);
/* oklch */ color: oklch(79.4% 0.156 109.1);
Tailwind
colors: {
  custom: {
    50: '#dad476',
    500: '#c4c334',
    950: '#000000',
  },
}
SCSS
$custom: #c4c334;
$custom-light: #dad476;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c334",
  "rgb": {
    "r": 196,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 59.583,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79355,
    "c": 0.15624,
    "h": 109.1
  },
  "luminance": 0.51014
}

Semantic roles & 50–950 ramp

primary
#C4C334
secondary
#2E2F6E
accent
#48E147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C334

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

Preview Lab → · Contrast checker → · Palette generator →

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