#C4C27D#C4C27D

#C4C27D is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.090 H 106.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C4C27D
RGBrgb(196, 194, 125)
HSLhsl(58, 38%, 63%)
HSVhsv(58, 36%, 77%)
CMYKcmyk(0%, 1%, 36.2%, 23.1%)
CIE-LABlab(77.16, -9.68, 34.99)
CIE-LCHlch(77.16, 36.31, 105.47°)
OKLaboklab(79.97% -0.026 0.086)
OKLCHoklch(79.97% 0.09 106.8)
XYZxyz(45.7590, 51.8009, 26.9861)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C27D #7D7FC4
analogous
#C49E7D #C4C27D #A2C47D
triadic
#C4C27D #7DC4C2 #C27DC4
tetradic
#C4C27D #7DC49E #7D7FC4 #C47DA2
square
#C4C27D #7DC49E #7D7FC4 #C47DA2
split-complementary
#C4C27D #7DA2C4 #9E7DC4
monochromatic
#89873E #B1AE53 #C4C27D #D7D6A7 #EAEAD1

Accessibility & contrast

On white

1.85
#C4C27D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C4C27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C27D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C27D#FFFFFF#000000##000000
##C4C27D1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD78
Deuteranopia (green-blind)
#CEC080
Tritanopia (blue-blind)
#CEBAB1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c27d;
/* rgb */ color: rgb(196, 194, 125);
/* oklch */ color: oklch(80.0% 0.090 106.8);
Tailwind
colors: {
  custom: {
    50: '#d7d4a3',
    500: '#c4c27d',
    950: '#000000',
  },
}
SCSS
$custom: #c4c27d;
$custom-light: #d7d4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c27d",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 125
  },
  "hsl": {
    "h": 58.31,
    "s": 37.566,
    "l": 62.941
  },
  "oklch": {
    "l": 0.79972,
    "c": 0.08985,
    "h": 106.8
  },
  "luminance": 0.518
}

Semantic roles & 50–950 ramp

primary
#C4C27D
secondary
#545691
accent
#38B035
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #C4C27D

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

Preview Lab → · Contrast checker → · Palette generator →

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