#C4BF2C#C4BF2C

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

Color values

HEX#C4BF2C
RGBrgb(196, 191, 44)
HSLhsl(58, 63%, 47%)
HSVhsv(58, 78%, 77%)
CMYKcmyk(0%, 2.6%, 77.6%, 23.1%)
CIE-LABlab(75.56, -14.28, 68.63)
CIE-LCHlch(75.56, 70.10, 101.75°)
OKLaboklab(78.44% -0.047 0.1494)
OKLCHoklch(78.44% 0.157 107.5)
XYZxyz(41.8521, 49.1807, 9.6706)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF2C #2C31C4
analogous
#C4732C #C4BF2C #7DC42C
triadic
#C4BF2C #2CC4BF #BF2CC4
tetradic
#C4BF2C #2CC473 #2C31C4 #C42C7D
square
#C4BF2C #2CC473 #2C31C4 #C42C7D
split-complementary
#C4BF2C #2C7DC4 #732CC4
monochromatic
#605E16 #928E21 #C4BF2C #D9D454 #E4E186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BF2C#FFFFFF#000000##000000
##C4BF2C1.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)
#CFB700
Deuteranopia (green-blind)
#D2BD39
Tritanopia (blue-blind)
#D3B2A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf2c;
/* rgb */ color: rgb(196, 191, 44);
/* oklch */ color: oklch(78.4% 0.157 107.5);
Tailwind
colors: {
  custom: {
    50: '#dad272',
    500: '#c4bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf2c;
$custom-light: #dad272;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf2c",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 58.026,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78445,
    "c": 0.15664,
    "h": 107.5
  },
  "luminance": 0.49179
}

Semantic roles & 50–950 ramp

primary
#C4BF2C
secondary
#7E81CD
accent
#47E641
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C4BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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