#C5BF30#C5BF30

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

Color values

HEX#C5BF30
RGBrgb(197, 191, 48)
HSLhsl(58, 61%, 48%)
HSVhsv(58, 76%, 77%)
CMYKcmyk(0%, 3%, 75.6%, 22.7%)
CIE-LABlab(75.67, -13.70, 67.52)
CIE-LCHlch(75.67, 68.89, 101.47°)
OKLaboklab(78.55% -0.0451 0.1477)
OKLCHoklch(78.55% 0.154 107)
XYZxyz(42.1920, 49.3468, 10.0981)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF30 #3036C5
analogous
#C57430 #C5BF30 #80C530
triadic
#C5BF30 #30C5BF #BF30C5
tetradic
#C5BF30 #30C574 #3036C5 #C53080
square
#C5BF30 #30C574 #3036C5 #C53080
split-complementary
#C5BF30 #3080C5 #7430C5
monochromatic
#636018 #948F24 #C5BF30 #D7D25B #E3E08C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF30#FFFFFF#000000##000000
##C5BF301.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)
#D0B80D
Deuteranopia (green-blind)
#D2BD3B
Tritanopia (blue-blind)
#D4B2A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5bf30;
/* rgb */ color: rgb(197, 191, 48);
/* oklch */ color: oklch(78.6% 0.154 107.0);
Tailwind
colors: {
  custom: {
    50: '#dad274',
    500: '#c5bf30',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf30;
$custom-light: #dad274;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf30",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 57.584,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78553,
    "c": 0.15445,
    "h": 107
  },
  "luminance": 0.49345
}

Semantic roles & 50–950 ramp

primary
#C5BF30
secondary
#8487CD
accent
#4AE444
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C5BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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