#C4CF38#C4CF38

#C4CF38 is a light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.166 H 113.7°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#C4CF38
RGBrgb(196, 207, 56)
HSLhsl(64, 61%, 52%)
HSVhsv(64, 73%, 81%)
CMYKcmyk(5.3%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.98, -21.74, 68.90)
CIE-LCHlch(79.98, 72.25, 107.51°)
OKLaboklab(82% -0.0668 0.1521)
OKLCHoklch(82% 0.166 113.7)
XYZxyz(45.7930, 56.6479, 12.2625)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CF38 #4338CF
analogous
#CF8F38 #C4CF38 #79CF38
triadic
#C4CF38 #38C4CF #CF38C4
tetradic
#C4CF38 #38CF8F #4338CF #CF3879
square
#C4CF38 #38CF8F #4338CF #CF3879
split-complementary
#C4CF38 #3879CF #8F38CF
monochromatic
#6B711B #9AA327 #C4CF38 #D3DB69 #E1E79B

Accessibility & contrast

On white

1.70
#C4CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#C4CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CF38
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CF38#FFFFFF#000000##000000
##C4CF381.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC519
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#D1C3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c4cf38;
/* rgb */ color: rgb(196, 207, 56);
/* oklch */ color: oklch(82.0% 0.166 113.7);
Tailwind
colors: {
  custom: {
    50: '#dadd79',
    500: '#c4cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c4cf38;
$custom-light: #dadd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cf38",
  "rgb": {
    "r": 196,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 64.371,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81997,
    "c": 0.16613,
    "h": 113.7
  },
  "luminance": 0.56647
}

Semantic roles & 50–950 ramp

primary
#C4CF38
secondary
#36317A
accent
#44E44F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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