#C4C331#C4C331

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

Color values

HEX#C4C331
RGBrgb(196, 195, 49)
HSLhsl(60, 60%, 48%)
HSVhsv(60, 75%, 77%)
CMYKcmyk(0%, 0.5%, 75%, 23.1%)
CIE-LABlab(76.67, -16.10, 68.09)
CIE-LCHlch(76.67, 69.97, 103.30°)
OKLaboklab(79.34% -0.0517 0.1492)
OKLCHoklch(79.34% 0.158 109.1)
XYZxyz(42.8361, 50.9891, 10.4906)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C331 #3132C4
analogous
#C47931 #C4C331 #7BC431
triadic
#C4C331 #31C4C3 #C331C4
tetradic
#C4C331 #31C479 #3132C4 #C4317B
square
#C4C331 #31C479 #3132C4 #C4317B
split-complementary
#C4C331 #317BC4 #7931C4
monochromatic
#626219 #939225 #C4C331 #D6D55C #E2E28D

Accessibility & contrast

On white

1.88
#C4C331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C331#FFFFFF#000000##000000
##C4C3311.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c331;
/* rgb */ color: rgb(196, 195, 49);
/* oklch */ color: oklch(79.3% 0.158 109.1);
Tailwind
colors: {
  custom: {
    50: '#dad475',
    500: '#c4c331',
    950: '#000000',
  },
}
SCSS
$custom: #c4c331;
$custom-light: #dad475;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c331",
  "rgb": {
    "r": 196,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 59.592,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79338,
    "c": 0.15787,
    "h": 109.1
  },
  "luminance": 0.50988
}

Semantic roles & 50–950 ramp

primary
#C4C331
secondary
#2C2D6D
accent
#46E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C331

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

Preview Lab → · Contrast checker → · Palette generator →

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