#C4CD3F#C4CD3F

#C4CD3F is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.6% C 0.160 H 113.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#C4CD3F
RGBrgb(196, 205, 63)
HSLhsl(64, 59%, 53%)
HSVhsv(64, 69%, 80%)
CMYKcmyk(4.4%, 0%, 69.3%, 19.6%)
CIE-LABlab(79.48, -20.41, 65.96)
CIE-LCHlch(79.48, 69.05, 107.20°)
OKLaboklab(81.61% -0.0624 0.1471)
OKLCHoklch(81.61% 0.16 113)
XYZxyz(45.4948, 55.7583, 13.0675)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD3F #483FCD
analogous
#CD8F3F #C4CD3F #7DCD3F
triadic
#C4CD3F #3FC4CD #CD3FC4
tetradic
#C4CD3F #3FCD8F #483FCD #CD3F7D
square
#C4CD3F #3FCD8F #483FCD #CD3F7D
split-complementary
#C4CD3F #3F7DCD #8F3FCD
monochromatic
#6E741E #9CA42B #C4CD3F #D3DA70 #E2E6A0

Accessibility & contrast

On white

1.73
#C4CD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#C4CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD3F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD3F#FFFFFF#000000##000000
##C4CD3F1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#D1C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd3f;
/* rgb */ color: rgb(196, 205, 63);
/* oklch */ color: oklch(81.6% 0.160 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9dc7d',
    500: '#c4cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd3f;
$custom-light: #d9dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd3f",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 63.803,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81606,
    "c": 0.1598,
    "h": 113
  },
  "luminance": 0.55757
}

Semantic roles & 50–950 ramp

primary
#C4CD3F
secondary
#39347C
accent
#46E250
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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