#C4C834#C4C834

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

Color values

HEX#C4C834
RGBrgb(196, 200, 52)
HSLhsl(62, 59%, 49%)
HSVhsv(62, 74%, 78%)
CMYKcmyk(2%, 0%, 74%, 21.6%)
CIE-LABlab(78.05, -18.47, 68.40)
CIE-LCHlch(78.05, 70.85, 105.11°)
OKLaboklab(80.44% -0.058 0.1504)
OKLCHoklch(80.44% 0.161 111.1)
XYZxyz(44.0406, 53.2934, 11.2149)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C834 #3834C8
analogous
#C88234 #C4C834 #7AC834
triadic
#C4C834 #34C4C8 #C834C4
tetradic
#C4C834 #34C882 #3834C8 #C8347A
square
#C4C834 #34C882 #3834C8 #C8347A
split-complementary
#C4C834 #347AC8 #8234C8
monochromatic
#65671B #949727 #C4C834 #D3D663 #E1E393

Accessibility & contrast

On white

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

On black

11.66
#C4C834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C834
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C834#FFFFFF#000000##000000
##C4C8341.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c834;
/* rgb */ color: rgb(196, 200, 52);
/* oklch */ color: oklch(80.4% 0.161 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad877',
    500: '#c4c834',
    950: '#000000',
  },
}
SCSS
$custom: #c4c834;
$custom-light: #dad877;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c834",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 61.622,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80442,
    "c": 0.16117,
    "h": 111.1
  },
  "luminance": 0.53292
}

Semantic roles & 50–950 ramp

primary
#C4C834
secondary
#312F71
accent
#46E24A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C834

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

Preview Lab → · Contrast checker → · Palette generator →

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