#C4C831#C4C831

#C4C831 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.4% C 0.163 H 111.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#C4C831
RGBrgb(196, 200, 49)
HSLhsl(62, 61%, 49%)
HSVhsv(62, 76%, 78%)
CMYKcmyk(2%, 0%, 75.5%, 21.6%)
CIE-LABlab(78.03, -18.60, 69.34)
CIE-LCHlch(78.03, 71.79, 105.01°)
OKLaboklab(80.43% -0.0586 0.1518)
OKLCHoklch(80.43% 0.163 111.1)
XYZxyz(43.9751, 53.2673, 10.8703)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C831 #3531C8
analogous
#C88131 #C4C831 #79C831
triadic
#C4C831 #31C4C8 #C831C4
tetradic
#C4C831 #31C881 #3531C8 #C83179
square
#C4C831 #31C881 #3531C8 #C83179
split-complementary
#C4C831 #3179C8 #8131C8
monochromatic
#646619 #949725 #C4C831 #D4D85F #E2E490

Accessibility & contrast

On white

1.80
#C4C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#C4C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C831
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C831#FFFFFF#000000##000000
##C4C8311.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF08
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#D2BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c831;
/* rgb */ color: rgb(196, 200, 49);
/* oklch */ color: oklch(80.4% 0.163 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad875',
    500: '#c4c831',
    950: '#000000',
  },
}
SCSS
$custom: #c4c831;
$custom-light: #dad875;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c831",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 61.589,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80425,
    "c": 0.16276,
    "h": 111.1
  },
  "luminance": 0.53266
}

Semantic roles & 50–950 ramp

primary
#C4C831
secondary
#2F2D70
accent
#44E448
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C831

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

Preview Lab → · Contrast checker → · Palette generator →

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