#C4C738#C4C738

#C4C738 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.158 H 110.7°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#C4C738
RGBrgb(196, 199, 56)
HSLhsl(61, 56%, 50%)
HSVhsv(61, 72%, 78%)
CMYKcmyk(1.5%, 0%, 71.9%, 22%)
CIE-LABlab(77.80, -17.79, 66.82)
CIE-LCHlch(77.80, 69.15, 104.91°)
OKLaboklab(80.25% -0.0558 0.1477)
OKLCHoklch(80.25% 0.158 110.7)
XYZxyz(43.9037, 52.8693, 11.6327)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C738 #3B38C7
analogous
#C78338 #C4C738 #7CC738
triadic
#C4C738 #38C4C7 #C738C4
tetradic
#C4C738 #38C783 #3B38C7 #C7387C
square
#C4C738 #38C783 #3B38C7 #C7387C
split-complementary
#C4C738 #387CC7 #8338C7
monochromatic
#66671D #95972B #C4C738 #D2D468 #E0E298

Accessibility & contrast

On white

1.81
#C4C738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#C4C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C738
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C738#FFFFFF#000000##000000
##C4C7381.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1D
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#D2BBAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c4c738;
/* rgb */ color: rgb(196, 199, 56);
/* oklch */ color: oklch(80.2% 0.158 110.7);
Tailwind
colors: {
  custom: {
    50: '#d9d779',
    500: '#c4c738',
    950: '#000000',
  },
}
SCSS
$custom: #c4c738;
$custom-light: #d9d779;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c738",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 61.259,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.80249,
    "c": 0.1579,
    "h": 110.7
  },
  "luminance": 0.52868
}

Semantic roles & 50–950 ramp

primary
#C4C738
secondary
#333272
accent
#48DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C738

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

Preview Lab → · Contrast checker → · Palette generator →

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