#C4BF40#C4BF40

#C4BF40 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.6% C 0.145 H 107.1°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#C4BF40
RGBrgb(196, 191, 64)
HSLhsl(58, 53%, 51%)
HSVhsv(58, 67%, 77%)
CMYKcmyk(0%, 2.6%, 67.3%, 23.1%)
CIE-LABlab(75.68, -13.36, 61.78)
CIE-LCHlch(75.68, 63.21, 102.20°)
OKLaboklab(78.57% -0.0426 0.1385)
OKLCHoklch(78.57% 0.145 107.1)
XYZxyz(42.3227, 49.3689, 12.1493)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF40 #4045C4
analogous
#C47D40 #C4BF40 #87C440
triadic
#C4BF40 #40C4BF #BF40C4
tetradic
#C4BF40 #40C47D #4045C4 #C44087
square
#C4BF40 #40C47D #4045C4 #C44087
split-complementary
#C4BF40 #4087C4 #7D40C4
monochromatic
#696620 #98942F #C4BF40 #D2CF6F #E1DE9E

Accessibility & contrast

On white

1.93
#C4BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#C4BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF40
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF40#FFFFFF#000000##000000
##C4BF401.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#D2B3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf40;
/* rgb */ color: rgb(196, 191, 64);
/* oklch */ color: oklch(78.6% 0.145 107.1);
Tailwind
colors: {
  custom: {
    50: '#d9d27c',
    500: '#c4bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf40;
$custom-light: #d9d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf40",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 57.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78575,
    "c": 0.14486,
    "h": 107.1
  },
  "luminance": 0.49368
}

Semantic roles & 50–950 ramp

primary
#C4BF40
secondary
#9395CD
accent
#51DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C4BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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