#C4BD40#C4BD40

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

Color values

HEX#C4BD40
RGBrgb(196, 189, 64)
HSLhsl(57, 53%, 51%)
HSVhsv(57, 67%, 77%)
CMYKcmyk(0%, 3.6%, 67.3%, 23.1%)
CIE-LABlab(75.14, -12.34, 61.24)
CIE-LCHlch(75.14, 62.47, 101.40°)
OKLaboklab(78.15% -0.0397 0.1373)
OKLCHoklch(78.15% 0.143 106.1)
XYZxyz(41.8895, 48.5026, 12.0049)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BD40 #4047C4
analogous
#C47B40 #C4BD40 #89C440
triadic
#C4BD40 #40C4BD #BD40C4
tetradic
#C4BD40 #40C47B #4047C4 #C44089
square
#C4BD40 #40C47B #4047C4 #C44089
split-complementary
#C4BD40 #4089C4 #7B40C4
monochromatic
#696520 #98922F #C4BD40 #D2CD6F #E1DD9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BD40#FFFFFF#000000##000000
##C4BD401.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)
#CDB62E
Deuteranopia (green-blind)
#D0BB48
Tritanopia (blue-blind)
#D2B1A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c4bd40;
/* rgb */ color: rgb(196, 189, 64);
/* oklch */ color: oklch(78.1% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#d9d07c',
    500: '#c4bd40',
    950: '#000000',
  },
}
SCSS
$custom: #c4bd40;
$custom-light: #d9d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bd40",
  "rgb": {
    "r": 196,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 56.818,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78145,
    "c": 0.14292,
    "h": 106.1
  },
  "luminance": 0.48501
}

Semantic roles & 50–950 ramp

primary
#C4BD40
secondary
#9396CD
accent
#53DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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