#C5BB45#C5BB45

#C5BB45 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.8% C 0.137 H 104.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C5BB45
RGBrgb(197, 187, 69)
HSLhsl(55, 52%, 52%)
HSVhsv(55, 65%, 77%)
CMYKcmyk(0%, 5.1%, 65%, 22.7%)
CIE-LABlab(74.73, -10.61, 58.81)
CIE-LCHlch(74.73, 59.76, 100.22°)
OKLaboklab(77.85% -0.0343 0.133)
OKLCHoklch(77.85% 0.137 104.5)
XYZxyz(41.8720, 47.8422, 12.6579)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB45 #454FC5
analogous
#C57B45 #C5BB45 #8FC545
triadic
#C5BB45 #45C5BB #BB45C5
tetradic
#C5BB45 #45C57B #454FC5 #C5458F
square
#C5BB45 #45C57B #454FC5 #C5458F
split-complementary
#C5BB45 #458FC5 #7B45C5
monochromatic
#6D6822 #9C9431 #C5BB45 #D4CC74 #E2DDA2

Accessibility & contrast

On white

1.99
#C5BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C5BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB45
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB45#FFFFFF#000000##000000
##C5BB451.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#D3AFA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb45;
/* rgb */ color: rgb(197, 187, 69);
/* oklch */ color: oklch(77.8% 0.137 104.5);
Tailwind
colors: {
  custom: {
    50: '#dacf7e',
    500: '#c5bb45',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb45;
$custom-light: #dacf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb45",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 55.313,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77847,
    "c": 0.13732,
    "h": 104.5
  },
  "luminance": 0.47841
}

Semantic roles & 50–950 ramp

primary
#C5BB45
secondary
#979BCF
accent
#57DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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