#C4BF42#C4BF42

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

Color values

HEX#C4BF42
RGBrgb(196, 191, 66)
HSLhsl(58, 52%, 51%)
HSVhsv(58, 66%, 77%)
CMYKcmyk(0%, 2.6%, 66.3%, 23.1%)
CIE-LABlab(75.69, -13.25, 61.01)
CIE-LCHlch(75.69, 62.43, 102.25°)
OKLaboklab(78.59% -0.042 0.1372)
OKLCHoklch(78.59% 0.143 107)
XYZxyz(42.3806, 49.3921, 12.4544)
Luminance0.4939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF42 #4247C4
analogous
#C47E42 #C4BF42 #88C442
triadic
#C4BF42 #42C4BF #BF42C4
tetradic
#C4BF42 #42C47E #4247C4 #C44288
square
#C4BF42 #42C47E #4247C4 #C44288
split-complementary
#C4BF42 #4288C4 #7E42C4
monochromatic
#6A6821 #999530 #C4BF42 #D3CF71 #E1DF9F

Accessibility & contrast

On white

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

On black

10.88
#C4BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BF42
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BF42#FFFFFF#000000##000000
##C4BF421.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#D2B3A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf42;
/* rgb */ color: rgb(196, 191, 66);
/* oklch */ color: oklch(78.6% 0.143 107.0);
Tailwind
colors: {
  custom: {
    50: '#d9d27d',
    500: '#c4bf42',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf42;
$custom-light: #d9d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf42",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 57.692,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78591,
    "c": 0.14345,
    "h": 107
  },
  "luminance": 0.49391
}

Semantic roles & 50–950 ramp

primary
#C4BF42
secondary
#9496CE
accent
#51DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C4BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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