#C7BB4C#C7BB4C

#C7BB4C is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.132 H 103.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#C7BB4C
RGBrgb(199, 187, 76)
HSLhsl(54, 52%, 54%)
HSVhsv(54, 62%, 78%)
CMYKcmyk(0%, 6%, 61.8%, 22%)
CIE-LABlab(74.95, -9.31, 56.13)
CIE-LCHlch(74.95, 56.89, 99.42°)
OKLaboklab(78.09% -0.03 0.1283)
OKLCHoklch(78.09% 0.132 103.2)
XYZxyz(42.6296, 48.2062, 13.8953)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB4C #4C58C7
analogous
#C77E4C #C7BB4C #96C74C
triadic
#C7BB4C #4CC7BB #BB4CC7
tetradic
#C7BB4C #4CC77E #4C58C7 #C74C96
square
#C7BB4C #4CC77E #4C58C7 #C74C96
split-complementary
#C7BB4C #4C96C7 #7E4CC7
monochromatic
#746C24 #A39833 #C7BB4C #D6CD7B #E4DEA9

Accessibility & contrast

On white

1.97
#C7BB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#C7BB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB4C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB4C#FFFFFF#000000##000000
##C7BB4C1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53F
Deuteranopia (green-blind)
#CFBB52
Tritanopia (blue-blind)
#D5AFA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb4c;
/* rgb */ color: rgb(199, 187, 76);
/* oklch */ color: oklch(78.1% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#dbcf83',
    500: '#c7bb4c',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb4c;
$custom-light: #dbcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb4c",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 76
  },
  "hsl": {
    "h": 54.146,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78089,
    "c": 0.13171,
    "h": 103.2
  },
  "luminance": 0.48205
}

Semantic roles & 50–950 ramp

primary
#C7BB4C
secondary
#9DA2D2
accent
#5ADC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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