#C4C127#C4C127

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

Color values

HEX#C4C127
RGBrgb(196, 193, 39)
HSLhsl(59, 67%, 46%)
HSVhsv(59, 80%, 77%)
CMYKcmyk(0%, 1.5%, 80.1%, 23.1%)
CIE-LABlab(76.08, -15.46, 70.52)
CIE-LCHlch(76.08, 72.20, 102.37°)
OKLaboklab(78.85% -0.0507 0.1526)
OKLCHoklch(78.85% 0.161 108.4)
XYZxyz(42.2028, 50.0236, 9.3515)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C127 #272AC4
analogous
#C47327 #C4C127 #78C427
triadic
#C4C127 #27C4C1 #C127C4
tetradic
#C4C127 #27C473 #272AC4 #C42778
square
#C4C127 #27C473 #272AC4 #C42778
split-complementary
#C4C127 #2778C4 #7327C4
monochromatic
#5E5C13 #918F1D #C4C127 #DCD94D #E6E480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C127#FFFFFF#000000##000000
##C4C1271.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)
#D4BE35
Tritanopia (blue-blind)
#D3B4A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c127;
/* rgb */ color: rgb(196, 193, 39);
/* oklch */ color: oklch(78.9% 0.161 108.4);
Tailwind
colors: {
  custom: {
    50: '#dad370',
    500: '#c4c127',
    950: '#000000',
  },
}
SCSS
$custom: #c4c127;
$custom-light: #dad370;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c127",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 39
  },
  "hsl": {
    "h": 58.854,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78853,
    "c": 0.16076,
    "h": 108.4
  },
  "luminance": 0.50022
}

Semantic roles & 50–950 ramp

primary
#C4C127
secondary
#262769
accent
#41EA3E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C127

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

Preview Lab → · Contrast checker → · Palette generator →

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