#C4BF2A#C4BF2A

#C4BF2A is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.4% C 0.158 H 107.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#C4BF2A
RGBrgb(196, 191, 42)
HSLhsl(58, 65%, 47%)
HSVhsv(58, 79%, 77%)
CMYKcmyk(0%, 2.6%, 78.6%, 23.1%)
CIE-LABlab(75.55, -14.35, 69.22)
CIE-LCHlch(75.55, 70.69, 101.71°)
OKLaboklab(78.44% -0.0474 0.1503)
OKLCHoklch(78.44% 0.158 107.5)
XYZxyz(41.8154, 49.1660, 9.4774)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF2A #2A2FC4
analogous
#C4722A #C4BF2A #7CC42A
triadic
#C4BF2A #2AC4BF #BF2AC4
tetradic
#C4BF2A #2AC472 #2A2FC4 #C42A7C
square
#C4BF2A #2AC472 #2A2FC4 #C42A7C
split-complementary
#C4BF2A #2A7CC4 #722AC4
monochromatic
#5F5D14 #928E1F #C4BF2A #DAD551 #E5E184

Accessibility & contrast

On white

1.94
#C4BF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#C4BF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF2A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF2A#FFFFFF#000000##000000
##C4BF2A1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D2BD37
Tritanopia (blue-blind)
#D3B2A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf2a;
/* rgb */ color: rgb(196, 191, 42);
/* oklch */ color: oklch(78.4% 0.158 107.5);
Tailwind
colors: {
  custom: {
    50: '#dad271',
    500: '#c4bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf2a;
$custom-light: #dad271;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf2a",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 58.052,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.78435,
    "c": 0.15758,
    "h": 107.5
  },
  "luminance": 0.49165
}

Semantic roles & 50–950 ramp

primary
#C4BF2A
secondary
#7C7FCE
accent
#46E840
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C4BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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