#C4BF31#C4BF31

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

Color values

HEX#C4BF31
RGBrgb(196, 191, 49)
HSLhsl(58, 60%, 48%)
HSVhsv(58, 75%, 77%)
CMYKcmyk(0%, 2.6%, 75%, 23.1%)
CIE-LABlab(75.59, -14.09, 67.09)
CIE-LCHlch(75.59, 68.55, 101.86°)
OKLaboklab(78.47% -0.046 0.147)
OKLCHoklch(78.47% 0.154 107.4)
XYZxyz(41.9518, 49.2206, 10.1958)
Luminance0.4922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF31 #3136C4
analogous
#C47531 #C4BF31 #7FC431
triadic
#C4BF31 #31C4BF #BF31C4
tetradic
#C4BF31 #31C475 #3136C4 #C4317F
square
#C4BF31 #31C475 #3136C4 #C4317F
split-complementary
#C4BF31 #317FC4 #7531C4
monochromatic
#626019 #938F25 #C4BF31 #D6D25C #E2E08D

Accessibility & contrast

On white

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

On black

10.84
#C4BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF31
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF31#FFFFFF#000000##000000
##C4BF311.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4bf31;
/* rgb */ color: rgb(196, 191, 49);
/* oklch */ color: oklch(78.5% 0.154 107.4);
Tailwind
colors: {
  custom: {
    50: '#dad274',
    500: '#c4bf31',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf31;
$custom-light: #dad274;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf31",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 57.959,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78473,
    "c": 0.15408,
    "h": 107.4
  },
  "luminance": 0.49219
}

Semantic roles & 50–950 ramp

primary
#C4BF31
secondary
#8487CD
accent
#4AE345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C4BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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