#C4BD42#C4BD42

#C4BD42 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.2% C 0.142 H 106.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#C4BD42
RGBrgb(196, 189, 66)
HSLhsl(57, 52%, 51%)
HSVhsv(57, 66%, 77%)
CMYKcmyk(0%, 3.6%, 66.3%, 23.1%)
CIE-LABlab(75.16, -12.23, 60.46)
CIE-LCHlch(75.16, 61.68, 101.44°)
OKLaboklab(78.16% -0.0392 0.136)
OKLCHoklch(78.16% 0.142 106.1)
XYZxyz(41.9475, 48.5258, 12.3100)
Luminance0.4852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BD42 #4249C4
analogous
#C47C42 #C4BD42 #8AC442
triadic
#C4BD42 #42C4BD #BD42C4
tetradic
#C4BD42 #42C47C #4249C4 #C4428A
square
#C4BD42 #42C47C #4249C4 #C4428A
split-complementary
#C4BD42 #428AC4 #7C42C4
monochromatic
#6A6621 #999330 #C4BD42 #D3CD71 #E1DE9F

Accessibility & contrast

On white

1.96
#C4BD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#C4BD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BD42
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BD42#FFFFFF#000000##000000
##C4BD421.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#D0BB4A
Tritanopia (blue-blind)
#D2B1A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c4bd42;
/* rgb */ color: rgb(196, 189, 66);
/* oklch */ color: oklch(78.2% 0.142 106.1);
Tailwind
colors: {
  custom: {
    50: '#d9d07d',
    500: '#c4bd42',
    950: '#000000',
  },
}
SCSS
$custom: #c4bd42;
$custom-light: #d9d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bd42",
  "rgb": {
    "r": 196,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 56.769,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78162,
    "c": 0.14151,
    "h": 106.1
  },
  "luminance": 0.48524
}

Semantic roles & 50–950 ramp

primary
#C4BD42
secondary
#9497CE
accent
#54DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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