#C4C838#C4C838

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

Color values

HEX#C4C838
RGBrgb(196, 200, 56)
HSLhsl(62, 57%, 50%)
HSVhsv(62, 72%, 78%)
CMYKcmyk(2%, 0%, 72%, 21.6%)
CIE-LABlab(78.07, -18.29, 67.08)
CIE-LCHlch(78.07, 69.53, 105.25°)
OKLaboklab(80.47% -0.0572 0.1483)
OKLCHoklch(80.47% 0.159 111.1)
XYZxyz(44.1345, 53.3310, 11.7096)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C838 #3C38C8
analogous
#C88438 #C4C838 #7CC838
triadic
#C4C838 #38C4C8 #C838C4
tetradic
#C4C838 #38C884 #3C38C8 #C8387C
square
#C4C838 #38C884 #3C38C8 #C8387C
split-complementary
#C4C838 #387CC8 #8438C8
monochromatic
#67691D #96992A #C4C838 #D2D568 #E0E398

Accessibility & contrast

On white

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

On black

11.67
#C4C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C838
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C838#FFFFFF#000000##000000
##C4C8381.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D9C343
Tritanopia (blue-blind)
#D2BCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c838;
/* rgb */ color: rgb(196, 200, 56);
/* oklch */ color: oklch(80.5% 0.159 111.1);
Tailwind
colors: {
  custom: {
    50: '#d9d879',
    500: '#c4c838',
    950: '#000000',
  },
}
SCSS
$custom: #c4c838;
$custom-light: #d9d879;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c838",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 61.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.15891,
    "h": 111.1
  },
  "luminance": 0.5333
}

Semantic roles & 50–950 ramp

primary
#C4C838
secondary
#333273
accent
#48E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C838

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

Preview Lab → · Contrast checker → · Palette generator →

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