#C4C839#C4C839

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

Color values

HEX#C4C839
RGBrgb(196, 200, 57)
HSLhsl(62, 57%, 50%)
HSVhsv(62, 72%, 78%)
CMYKcmyk(2%, 0%, 71.5%, 21.6%)
CIE-LABlab(78.08, -18.24, 66.74)
CIE-LCHlch(78.08, 69.19, 105.29°)
OKLaboklab(80.47% -0.057 0.1477)
OKLCHoklch(80.47% 0.158 111.1)
XYZxyz(44.1592, 53.3409, 11.8397)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C839 #3D39C8
analogous
#C88439 #C4C839 #7DC839
triadic
#C4C839 #39C4C8 #C839C4
tetradic
#C4C839 #39C884 #3D39C8 #C8397D
square
#C4C839 #39C884 #3D39C8 #C8397D
split-complementary
#C4C839 #397DC8 #8439C8
monochromatic
#67691D #96992B #C4C839 #D2D569 #E1E399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C839#FFFFFF#000000##000000
##C4C8391.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)
#D8BF1E
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#D2BCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c839;
/* rgb */ color: rgb(196, 200, 57);
/* oklch */ color: oklch(80.5% 0.158 111.1);
Tailwind
colors: {
  custom: {
    50: '#d9d879',
    500: '#c4c839',
    950: '#000000',
  },
}
SCSS
$custom: #c4c839;
$custom-light: #d9d879;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c839",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 61.678,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80473,
    "c": 0.15832,
    "h": 111.1
  },
  "luminance": 0.5334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C839

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

Preview Lab → · Contrast checker → · Palette generator →

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