#C4C335#C4C335

#C4C335 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#C4C335
RGBrgb(196, 195, 53)
HSLhsl(60, 57%, 49%)
HSVhsv(60, 73%, 77%)
CMYKcmyk(0%, 0.5%, 73%, 23.1%)
CIE-LABlab(76.69, -15.93, 66.80)
CIE-LCHlch(76.69, 68.67, 103.41°)
OKLaboklab(79.36% -0.0509 0.1471)
OKLCHoklch(79.36% 0.156 109.1)
XYZxyz(42.9242, 51.0243, 10.9551)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C335 #3536C4
analogous
#C47C35 #C4C335 #7EC435
triadic
#C4C335 #35C4C3 #C335C4
tetradic
#C4C335 #35C47C #3536C4 #C4357E
square
#C4C335 #35C47C #3536C4 #C4357E
split-complementary
#C4C335 #357EC4 #7C35C4
monochromatic
#64631B #949328 #C4C335 #D4D462 #E1E192

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C335#FFFFFF#000000##000000
##C4C3351.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)
#D3BB18
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#D2B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c335;
/* rgb */ color: rgb(196, 195, 53);
/* oklch */ color: oklch(79.4% 0.156 109.1);
Tailwind
colors: {
  custom: {
    50: '#dad477',
    500: '#c4c335',
    950: '#000000',
  },
}
SCSS
$custom: #c4c335;
$custom-light: #dad477;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c335",
  "rgb": {
    "r": 196,
    "g": 195,
    "b": 53
  },
  "hsl": {
    "h": 59.58,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79362,
    "c": 0.15568,
    "h": 109.1
  },
  "luminance": 0.51023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C335

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

Preview Lab → · Contrast checker → · Palette generator →

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