#C4C125#C4C125

#C4C125 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.8% C 0.162 H 108.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C4C125
RGBrgb(196, 193, 37)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 77%)
CMYKcmyk(0%, 1.5%, 81.1%, 23.1%)
CIE-LABlab(76.08, -15.53, 71.05)
CIE-LCHlch(76.08, 72.72, 102.33°)
OKLaboklab(78.84% -0.051 0.1533)
OKLCHoklch(78.84% 0.162 108.4)
XYZxyz(42.1706, 50.0107, 9.1816)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C125 #2528C4
analogous
#C47125 #C4C125 #77C425
triadic
#C4C125 #25C4C1 #C125C4
tetradic
#C4C125 #25C471 #2528C4 #C42577
square
#C4C125 #25C471 #2528C4 #C42577
split-complementary
#C4C125 #2577C4 #7125C4
monochromatic
#5D5C12 #918E1B #C4C125 #DDDA49 #E6E47D

Accessibility & contrast

On white

1.91
#C4C125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#C4C125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C125
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C125#FFFFFF#000000##000000
##C4C1251.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B900
Deuteranopia (green-blind)
#D4BE34
Tritanopia (blue-blind)
#D3B4A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c125;
/* rgb */ color: rgb(196, 193, 37);
/* oklch */ color: oklch(78.8% 0.162 108.4);
Tailwind
colors: {
  custom: {
    50: '#dad36f',
    500: '#c4c125',
    950: '#000000',
  },
}
SCSS
$custom: #c4c125;
$custom-light: #dad36f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c125",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 37
  },
  "hsl": {
    "h": 58.868,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.78844,
    "c": 0.1616,
    "h": 108.4
  },
  "luminance": 0.50009
}

Semantic roles & 50–950 ramp

primary
#C4C125
secondary
#252668
accent
#40EB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C125

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

Preview Lab → · Contrast checker → · Palette generator →

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