#C4BD27#C4BD27

#C4BD27 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.0% C 0.157 H 106.7°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#C4BD27
RGBrgb(196, 189, 39)
HSLhsl(57, 67%, 46%)
HSVhsv(57, 80%, 77%)
CMYKcmyk(0%, 3.6%, 80.1%, 23.1%)
CIE-LABlab(75.00, -13.44, 69.58)
CIE-LCHlch(75.00, 70.87, 100.93°)
OKLaboklab(77.99% -0.0451 0.1505)
OKLCHoklch(77.99% 0.157 106.7)
XYZxyz(41.3305, 48.2790, 9.0607)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BD27 #272EC4
analogous
#C46E27 #C4BD27 #7CC427
triadic
#C4BD27 #27C4BD #BD27C4
tetradic
#C4BD27 #27C46E #272EC4 #C4277C
square
#C4BD27 #27C46E #272EC4 #C4277C
split-complementary
#C4BD27 #277CC4 #6E27C4
monochromatic
#5E5B13 #918C1D #C4BD27 #DCD54D #E6E180

Accessibility & contrast

On white

1.97
#C4BD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#C4BD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BD27
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BD27#FFFFFF#000000##000000
##C4BD271.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#D1BB35
Tritanopia (blue-blind)
#D3B0A2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c4bd27;
/* rgb */ color: rgb(196, 189, 39);
/* oklch */ color: oklch(78.0% 0.157 106.7);
Tailwind
colors: {
  custom: {
    50: '#dad070',
    500: '#c4bd27',
    950: '#000000',
  },
}
SCSS
$custom: #c4bd27;
$custom-light: #dad070;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bd27",
  "rgb": {
    "r": 196,
    "g": 189,
    "b": 39
  },
  "hsl": {
    "h": 57.325,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77989,
    "c": 0.15712,
    "h": 106.7
  },
  "luminance": 0.48277
}

Semantic roles & 50–950 ramp

primary
#C4BD27
secondary
#797CCE
accent
#46EA3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4BD27

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

Preview Lab → · Contrast checker → · Palette generator →

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