#C4BF34#C4BF34

#C4BF34 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.5% C 0.152 H 107.3°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C4BF34
RGBrgb(196, 191, 52)
HSLhsl(58, 58%, 49%)
HSVhsv(58, 73%, 77%)
CMYKcmyk(0%, 2.6%, 73.5%, 23.1%)
CIE-LABlab(75.60, -13.96, 66.11)
CIE-LCHlch(75.60, 67.56, 101.92°)
OKLaboklab(78.49% -0.0454 0.1455)
OKLCHoklch(78.49% 0.152 107.3)
XYZxyz(42.0172, 49.2467, 10.5404)
Luminance0.4924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF34 #3439C4
analogous
#C47734 #C4BF34 #81C434
triadic
#C4BF34 #34C4BF #BF34C4
tetradic
#C4BF34 #34C477 #3439C4 #C43481
square
#C4BF34 #34C477 #3439C4 #C43481
split-complementary
#C4BF34 #3481C4 #7734C4
monochromatic
#63611A #949027 #C4BF34 #D5D160 #E2DF91

Accessibility & contrast

On white

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

On black

10.85
#C4BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF34
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF34#FFFFFF#000000##000000
##C4BF341.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB718
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#D2B2A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf34;
/* rgb */ color: rgb(196, 191, 52);
/* oklch */ color: oklch(78.5% 0.152 107.3);
Tailwind
colors: {
  custom: {
    50: '#dad276',
    500: '#c4bf34',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf34;
$custom-light: #dad276;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf34",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 57.917,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78491,
    "c": 0.15243,
    "h": 107.3
  },
  "luminance": 0.49245
}

Semantic roles & 50–950 ramp

primary
#C4BF34
secondary
#878ACC
accent
#4CE147
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C4BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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