#C7BB33#C7BB33

#C7BB33 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.149 H 104.2°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#C7BB33
RGBrgb(199, 187, 51)
HSLhsl(55, 59%, 49%)
HSVhsv(55, 74%, 78%)
CMYKcmyk(0%, 6%, 74.4%, 22%)
CIE-LABlab(74.78, -10.67, 65.76)
CIE-LCHlch(74.78, 66.62, 99.22°)
OKLaboklab(77.89% -0.0365 0.1445)
OKLCHoklch(77.89% 0.149 104.2)
XYZxyz(41.9229, 47.9235, 10.1732)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB33 #333FC7
analogous
#C77133 #C7BB33 #89C733
triadic
#C7BB33 #33C7BB #BB33C7
tetradic
#C7BB33 #33C771 #333FC7 #C73389
square
#C7BB33 #33C771 #333FC7 #C73389
split-complementary
#C7BB33 #3389C7 #7133C7
monochromatic
#665F1A #968D27 #C7BB33 #D6CD61 #E3DC91

Accessibility & contrast

On white

1.98
#C7BB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#C7BB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB33
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB33#FFFFFF#000000##000000
##C7BB331.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB517
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#D6AEA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb33;
/* rgb */ color: rgb(199, 187, 51);
/* oklch */ color: oklch(77.9% 0.149 104.2);
Tailwind
colors: {
  custom: {
    50: '#dccf75',
    500: '#c7bb33',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb33;
$custom-light: #dccf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb33",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 51
  },
  "hsl": {
    "h": 55.135,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77891,
    "c": 0.14899,
    "h": 104.2
  },
  "luminance": 0.47922
}

Semantic roles & 50–950 ramp

primary
#C7BB33
secondary
#888ECE
accent
#52E245
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7BB33

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

Preview Lab → · Contrast checker → · Palette generator →

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