#C4C74B#C4C74B

#C4C74B is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.4% C 0.145 H 110.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#C4C74B
RGBrgb(196, 199, 75)
HSLhsl(61, 53%, 54%)
HSVhsv(61, 62%, 78%)
CMYKcmyk(1.5%, 0%, 62.3%, 22%)
CIE-LABlab(77.93, -16.73, 59.67)
CIE-LCHlch(77.93, 61.97, 105.67°)
OKLaboklab(80.4% -0.0509 0.1357)
OKLCHoklch(80.4% 0.145 110.6)
XYZxyz(44.4597, 53.0917, 14.5610)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C74B #4E4BC7
analogous
#C78C4B #C4C74B #86C74B
triadic
#C4C74B #4BC4C7 #C74BC4
tetradic
#C4C74B #4BC78C #4E4BC7 #C74B86
square
#C4C74B #4BC78C #4E4BC7 #C74B86
split-complementary
#C4C74B #4B86C7 #8C4BC7
monochromatic
#727424 #A0A232 #C4C74B #D3D67A #E3E4A8

Accessibility & contrast

On white

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

On black

11.62
#C4C74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C74B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C74B#FFFFFF#000000##000000
##C4C74B1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3B
Deuteranopia (green-blind)
#D7C253
Tritanopia (blue-blind)
#D1BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c74b;
/* rgb */ color: rgb(196, 199, 75);
/* oklch */ color: oklch(80.4% 0.145 110.6);
Tailwind
colors: {
  custom: {
    50: '#d9d783',
    500: '#c4c74b',
    950: '#000000',
  },
}
SCSS
$custom: #c4c74b;
$custom-light: #d9d783;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c74b",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 61.452,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80396,
    "c": 0.14493,
    "h": 110.6
  },
  "luminance": 0.53091
}

Semantic roles & 50–950 ramp

primary
#C4C74B
secondary
#3B3A7D
accent
#4CDC4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4C74B

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

Preview Lab → · Contrast checker → · Palette generator →

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