#C7BB2B#C7BB2B

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

Color values

HEX#C7BB2B
RGBrgb(199, 187, 43)
HSLhsl(55, 64%, 47%)
HSVhsv(55, 78%, 78%)
CMYKcmyk(0%, 6%, 78.4%, 22%)
CIE-LABlab(74.74, -10.99, 68.29)
CIE-LCHlch(74.74, 69.17, 99.14°)
OKLaboklab(77.85% -0.038 0.1484)
OKLCHoklch(77.85% 0.153 104.4)
XYZxyz(41.7614, 47.8589, 9.3230)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB2B #2B37C7
analogous
#C76D2B #C7BB2B #85C72B
triadic
#C7BB2B #2BC7BB #BB2BC7
tetradic
#C7BB2B #2BC76D #2B37C7 #C72B85
square
#C7BB2B #2BC76D #2B37C7 #C72B85
split-complementary
#C7BB2B #2B85C7 #6D2BC7
monochromatic
#625C15 #958C20 #C7BB2B #DAD055 #E5DE87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BB2B#FFFFFF#000000##000000
##C7BB2B1.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)
#CCB400
Deuteranopia (green-blind)
#D0BB37
Tritanopia (blue-blind)
#D6AEA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb2b;
/* rgb */ color: rgb(199, 187, 43);
/* oklch */ color: oklch(77.8% 0.153 104.4);
Tailwind
colors: {
  custom: {
    50: '#dccf71',
    500: '#c7bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb2b;
$custom-light: #dccf71;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb2b",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 55.385,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77845,
    "c": 0.15316,
    "h": 104.4
  },
  "luminance": 0.47857
}

Semantic roles & 50–950 ramp

primary
#C7BB2B
secondary
#7F85CF
accent
#4DE740
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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