#C7BD3D#C7BD3D

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

Color values

HEX#C7BD3D
RGBrgb(199, 189, 61)
HSLhsl(56, 55%, 51%)
HSVhsv(56, 69%, 78%)
CMYKcmyk(0%, 5%, 69.3%, 22%)
CIE-LABlab(75.37, -11.23, 62.72)
CIE-LCHlch(75.37, 63.71, 100.15°)
OKLaboklab(78.39% -0.037 0.1398)
OKLCHoklch(78.39% 0.145 104.8)
XYZxyz(42.5948, 48.8758, 11.6043)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD3D #3D47C7
analogous
#C7783D #C7BD3D #8CC73D
triadic
#C7BD3D #3DC7BD #BD3DC7
tetradic
#C7BD3D #3DC778 #3D47C7 #C73D8C
square
#C7BD3D #3DC778 #3D47C7 #C73D8C
split-complementary
#C7BD3D #3D8CC7 #783DC7
monochromatic
#6B651F #9A922D #C7BD3D #D5CD6C #E2DD9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BD3D#FFFFFF#000000##000000
##C7BD3D1.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)
#CDB629
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#D6B0A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd3d;
/* rgb */ color: rgb(199, 189, 61);
/* oklch */ color: oklch(78.4% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#dbd07a',
    500: '#c7bd3d',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd3d;
$custom-light: #dbd07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd3d",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 61
  },
  "hsl": {
    "h": 55.652,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78386,
    "c": 0.14465,
    "h": 104.8
  },
  "luminance": 0.48874
}

Semantic roles & 50–950 ramp

primary
#C7BD3D
secondary
#9196CE
accent
#54DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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