#C7BB39#C7BB39

#C7BB39 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.9% C 0.145 H 104.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#C7BB39
RGBrgb(199, 187, 57)
HSLhsl(55, 56%, 50%)
HSVhsv(55, 71%, 78%)
CMYKcmyk(0%, 6%, 71.4%, 22%)
CIE-LABlab(74.81, -10.40, 63.66)
CIE-LCHlch(74.81, 64.51, 99.28°)
OKLaboklab(77.93% -0.0351 0.1411)
OKLCHoklch(77.93% 0.145 104)
XYZxyz(42.0638, 47.9799, 10.9154)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB39 #3945C7
analogous
#C77439 #C7BB39 #8CC739
triadic
#C7BB39 #39C7BB #BB39C7
tetradic
#C7BB39 #39C774 #3945C7 #C7398C
square
#C7BB39 #39C774 #3945C7 #C7398C
split-complementary
#C7BB39 #398CC7 #7439C7
monochromatic
#68621D #988F2B #C7BB39 #D4CB69 #E2DC98

Accessibility & contrast

On white

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

On black

10.60
#C7BB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB39
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB39#FFFFFF#000000##000000
##C7BB391.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7bb39;
/* rgb */ color: rgb(199, 187, 57);
/* oklch */ color: oklch(77.9% 0.145 104.0);
Tailwind
colors: {
  custom: {
    50: '#dccf78',
    500: '#c7bb39',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb39;
$custom-light: #dccf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb39",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 54.93,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7793,
    "c": 0.14542,
    "h": 104
  },
  "luminance": 0.47978
}

Semantic roles & 50–950 ramp

primary
#C7BB39
secondary
#8E94CE
accent
#55DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7BB39

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

Preview Lab → · Contrast checker → · Palette generator →

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