#C4B142#C4B142

#C4B142 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.131 H 99.5°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C4B142
RGBrgb(196, 177, 66)
HSLhsl(51, 52%, 51%)
HSVhsv(51, 66%, 77%)
CMYKcmyk(0%, 9.7%, 66.3%, 23.1%)
CIE-LABlab(71.94, -6.03, 57.13)
CIE-LCHlch(71.94, 57.45, 96.02°)
OKLaboklab(75.61% -0.0216 0.129)
OKLCHoklch(75.61% 0.131 99.5)
XYZxyz(39.4722, 43.5752, 11.4849)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B142 #4255C4
analogous
#C47042 #C4B142 #96C442
triadic
#C4B142 #42C4B1 #B142C4
tetradic
#C4B142 #42C470 #4255C4 #C44296
square
#C4B142 #42C470 #4255C4 #C44296
split-complementary
#C4B142 #4296C4 #7042C4
monochromatic
#6A6021 #998A30 #C4B142 #D3C471 #E1D79F

Accessibility & contrast

On white

2.16
#C4B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C4B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B142
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B142#FFFFFF#000000##000000
##C4B1421.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#C7B348
Tritanopia (blue-blind)
#D3A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b142;
/* rgb */ color: rgb(196, 177, 66);
/* oklch */ color: oklch(75.6% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#d9c87c',
    500: '#c4b142',
    950: '#000000',
  },
}
SCSS
$custom: #c4b142;
$custom-light: #d9c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b142",
  "rgb": {
    "r": 196,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 51.231,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75609,
    "c": 0.13074,
    "h": 99.5
  },
  "luminance": 0.43573
}

Semantic roles & 50–950 ramp

primary
#C4B142
secondary
#949DCE
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B142

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

Preview Lab → · Contrast checker → · Palette generator →

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