#C7BD39#C7BD39

#C7BD39 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.4% C 0.147 H 105.0°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#C7BD39
RGBrgb(199, 189, 57)
HSLhsl(56, 56%, 50%)
HSVhsv(56, 71%, 78%)
CMYKcmyk(0%, 5%, 71.4%, 22%)
CIE-LABlab(75.35, -11.43, 64.19)
CIE-LCHlch(75.35, 65.19, 100.09°)
OKLaboklab(78.36% -0.038 0.1422)
OKLCHoklch(78.36% 0.147 105)
XYZxyz(42.4911, 48.8343, 11.0579)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD39 #3943C7
analogous
#C77639 #C7BD39 #8AC739
triadic
#C7BD39 #39C7BD #BD39C7
tetradic
#C7BD39 #39C776 #3943C7 #C7398A
square
#C7BD39 #39C776 #3943C7 #C7398A
split-complementary
#C7BD39 #398AC7 #7639C7
monochromatic
#68631D #98902B #C7BD39 #D4CD69 #E2DD98

Accessibility & contrast

On white

1.95
#C7BD39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#C7BD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD39
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD39#FFFFFF#000000##000000
##C7BD391.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB622
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#D6B0A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd39;
/* rgb */ color: rgb(199, 189, 57);
/* oklch */ color: oklch(78.4% 0.147 105.0);
Tailwind
colors: {
  custom: {
    50: '#dcd078',
    500: '#c7bd39',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd39;
$custom-light: #dcd078;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd39",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 57
  },
  "hsl": {
    "h": 55.775,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78357,
    "c": 0.14721,
    "h": 105
  },
  "luminance": 0.48833
}

Semantic roles & 50–950 ramp

primary
#C7BD39
secondary
#8E93CE
accent
#53DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7BD39

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

Preview Lab → · Contrast checker → · Palette generator →

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