#C4C27F#C4C27F

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

Color values

HEX#C4C27F
RGBrgb(196, 194, 127)
HSLhsl(58, 37%, 63%)
HSVhsv(58, 35%, 77%)
CMYKcmyk(0%, 1%, 35.2%, 23.1%)
CIE-LABlab(77.19, -9.45, 34.00)
CIE-LCHlch(77.19, 35.29, 105.53°)
OKLaboklab(80.01% -0.0252 0.0838)
OKLCHoklch(80.01% 0.088 106.8)
XYZxyz(45.8880, 51.8526, 27.6658)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C27F #7F81C4
analogous
#C49F7F #C4C27F #A3C47F
triadic
#C4C27F #7FC4C2 #C27FC4
tetradic
#C4C27F #7FC49F #7F81C4 #C47FA3
square
#C4C27F #7FC49F #7F81C4 #C47FA3
split-complementary
#C4C27F #7FA3C4 #9F7FC4
monochromatic
#89873F #B1AE55 #C4C27F #D7D6A9 #EBEAD3

Accessibility & contrast

On white

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

On black

11.37
#C4C27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C27F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C27F#FFFFFF#000000##000000
##C4C27F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7A
Deuteranopia (green-blind)
#CEC082
Tritanopia (blue-blind)
#CDBAB1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c27f;
/* rgb */ color: rgb(196, 194, 127);
/* oklch */ color: oklch(80.0% 0.088 106.8);
Tailwind
colors: {
  custom: {
    50: '#d7d4a5',
    500: '#c4c27f',
    950: '#000000',
  },
}
SCSS
$custom: #c4c27f;
$custom-light: #d7d4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c27f",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 127
  },
  "hsl": {
    "h": 58.261,
    "s": 36.898,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80007,
    "c": 0.08751,
    "h": 106.8
  },
  "luminance": 0.51852
}

Semantic roles & 50–950 ramp

primary
#C4C27F
secondary
#565791
accent
#39B036
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #C4C27F

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

Preview Lab → · Contrast checker → · Palette generator →

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