#C4BF3B#C4BF3B

#C4BF3B is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.5% C 0.148 H 107.2°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#C4BF3B
RGBrgb(196, 191, 59)
HSLhsl(58, 54%, 50%)
HSVhsv(58, 70%, 77%)
CMYKcmyk(0%, 2.6%, 69.9%, 23.1%)
CIE-LABlab(75.65, -13.63, 63.66)
CIE-LCHlch(75.65, 65.10, 102.08°)
OKLaboklab(78.54% -0.0438 0.1416)
OKLCHoklch(78.54% 0.148 107.2)
XYZxyz(42.1868, 49.3146, 11.4333)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF3B #3B40C4
analogous
#C47A3B #C4BF3B #85C43B
triadic
#C4BF3B #3BC4BF #BF3BC4
tetradic
#C4BF3B #3BC47A #3B40C4 #C43B85
square
#C4BF3B #3BC47A #3B40C4 #C43B85
split-complementary
#C4BF3B #3B85C4 #7A3BC4
monochromatic
#66631F #95912D #C4BF3B #D2CE6A #E0DE99

Accessibility & contrast

On white

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

On black

10.86
#C4BF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF3B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF3B#FFFFFF#000000##000000
##C4BF3B1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4bf3b;
/* rgb */ color: rgb(196, 191, 59);
/* oklch */ color: oklch(78.5% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#d9d279',
    500: '#c4bf3b',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf3b;
$custom-light: #d9d279;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf3b",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 57.81,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.78538,
    "c": 0.14819,
    "h": 107.2
  },
  "luminance": 0.49313
}

Semantic roles & 50–950 ramp

primary
#C4BF3B
secondary
#8F91CC
accent
#50DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C4BF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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