#C4BF38#C4BF38

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

Color values

HEX#C4BF38
RGBrgb(196, 191, 56)
HSLhsl(58, 56%, 49%)
HSVhsv(58, 71%, 77%)
CMYKcmyk(0%, 2.6%, 71.4%, 23.1%)
CIE-LABlab(75.63, -13.77, 64.73)
CIE-LCHlch(75.63, 66.18, 102.01°)
OKLaboklab(78.52% -0.0445 0.1433)
OKLCHoklch(78.52% 0.15 107.3)
XYZxyz(42.1112, 49.2843, 11.0352)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BF38 #383DC4
analogous
#C47938 #C4BF38 #83C438
triadic
#C4BF38 #38C4BF #BF38C4
tetradic
#C4BF38 #38C479 #383DC4 #C43883
square
#C4BF38 #38C479 #383DC4 #C43883
split-complementary
#C4BF38 #3883C4 #7938C4
monochromatic
#65621D #94912A #C4BF38 #D3CF66 #E1DE96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BF38#FFFFFF#000000##000000
##C4BF381.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)
#CFB820
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#D2B2A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c4bf38;
/* rgb */ color: rgb(196, 191, 56);
/* oklch */ color: oklch(78.5% 0.150 107.3);
Tailwind
colors: {
  custom: {
    50: '#d9d278',
    500: '#c4bf38',
    950: '#000000',
  },
}
SCSS
$custom: #c4bf38;
$custom-light: #d9d278;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bf38",
  "rgb": {
    "r": 196,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 57.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78517,
    "c": 0.15006,
    "h": 107.3
  },
  "luminance": 0.49283
}

Semantic roles & 50–950 ramp

primary
#C4BF38
secondary
#8C8ECC
accent
#4EDF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C4BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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