#C7BB2A#C7BB2A

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

Color values

HEX#C7BB2A
RGBrgb(199, 187, 42)
HSLhsl(55, 65%, 47%)
HSVhsv(55, 79%, 78%)
CMYKcmyk(0%, 6%, 78.9%, 22%)
CIE-LABlab(74.73, -11.02, 68.58)
CIE-LCHlch(74.73, 69.46, 99.13°)
OKLaboklab(77.84% -0.0382 0.1488)
OKLCHoklch(77.84% 0.154 104.4)
XYZxyz(41.7433, 47.8517, 9.2275)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB2A #2A36C7
analogous
#C76D2A #C7BB2A #85C72A
triadic
#C7BB2A #2AC7BB #BB2AC7
tetradic
#C7BB2A #2AC76D #2A36C7 #C72A85
square
#C7BB2A #2AC76D #2A36C7 #C72A85
split-complementary
#C7BB2A #2A85C7 #6D2AC7
monochromatic
#625C15 #948C1F #C7BB2A #DBD053 #E5DE86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BB2A#FFFFFF#000000##000000
##C7BB2A1.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)
#D0BB36
Tritanopia (blue-blind)
#D6AEA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb2a;
/* rgb */ color: rgb(199, 187, 42);
/* oklch */ color: oklch(77.8% 0.154 104.4);
Tailwind
colors: {
  custom: {
    50: '#dccf71',
    500: '#c7bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb2a;
$custom-light: #dccf71;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb2a",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 55.414,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7784,
    "c": 0.15363,
    "h": 104.4
  },
  "luminance": 0.4785
}

Semantic roles & 50–950 ramp

primary
#C7BB2A
secondary
#7E84CF
accent
#4DE840
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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