#C5BF38#C5BF38

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

Color values

HEX#C5BF38
RGBrgb(197, 191, 56)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 72%, 77%)
CMYKcmyk(0%, 3%, 71.6%, 22.7%)
CIE-LABlab(75.71, -13.35, 64.84)
CIE-LCHlch(75.71, 66.20, 101.63°)
OKLaboklab(78.6% -0.0434 0.1435)
OKLCHoklch(78.6% 0.15 106.8)
XYZxyz(42.3722, 49.4189, 11.0474)
Luminance0.4942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF38 #383EC5
analogous
#C57938 #C5BF38 #84C538
triadic
#C5BF38 #38C5BF #BF38C5
tetradic
#C5BF38 #38C579 #383EC5 #C53884
square
#C5BF38 #38C579 #383EC5 #C53884
split-complementary
#C5BF38 #3884C5 #7938C5
monochromatic
#66631D #95912A #C5BF38 #D4CF67 #E1DE96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF38#FFFFFF#000000##000000
##C5BF381.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)
#CFB820
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#D3B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf38;
/* rgb */ color: rgb(197, 191, 56);
/* oklch */ color: oklch(78.6% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#dad278',
    500: '#c5bf38',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf38;
$custom-light: #dad278;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf38",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 57.447,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78603,
    "c": 0.14992,
    "h": 106.8
  },
  "luminance": 0.49417
}

Semantic roles & 50–950 ramp

primary
#C5BF38
secondary
#8C8FCD
accent
#4FDF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C5BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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