#C4C845#C4C845

#C4C845 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.6% C 0.150 H 111.0°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C4C845
RGBrgb(196, 200, 69)
HSLhsl(62, 54%, 53%)
HSVhsv(62, 66%, 78%)
CMYKcmyk(2%, 0%, 65.5%, 21.6%)
CIE-LABlab(78.15, -17.61, 62.34)
CIE-LCHlch(78.15, 64.78, 105.77°)
OKLaboklab(80.56% -0.054 0.1404)
OKLCHoklch(80.56% 0.15 111)
XYZxyz(44.4948, 53.4751, 13.6069)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C845 #4945C8
analogous
#C88A45 #C4C845 #82C845
triadic
#C4C845 #45C4C8 #C845C4
tetradic
#C4C845 #45C88A #4945C8 #C84582
square
#C4C845 #45C88A #4945C8 #C84582
split-complementary
#C4C845 #4582C8 #8A45C8
monochromatic
#6F7121 #9DA02F #C4C845 #D3D674 #E2E4A3

Accessibility & contrast

On white

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

On black

11.69
#C4C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C845
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C845#FFFFFF#000000##000000
##C4C8451.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#D1BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c845;
/* rgb */ color: rgb(196, 200, 69);
/* oklch */ color: oklch(80.6% 0.150 111.0);
Tailwind
colors: {
  custom: {
    50: '#d9d880',
    500: '#c4c845',
    950: '#000000',
  },
}
SCSS
$custom: #c4c845;
$custom-light: #d9d880;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c845",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 61.832,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80562,
    "c": 0.15046,
    "h": 111
  },
  "luminance": 0.53474
}

Semantic roles & 50–950 ramp

primary
#C4C845
secondary
#39377A
accent
#4ADE4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4C845

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

Preview Lab → · Contrast checker → · Palette generator →

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