#C7BD3F#C7BD3F

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

Color values

HEX#C7BD3F
RGBrgb(199, 189, 63)
HSLhsl(56, 55%, 51%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 5%, 68.3%, 22%)
CIE-LABlab(75.39, -11.12, 61.96)
CIE-LCHlch(75.39, 62.95, 100.18°)
OKLaboklab(78.4% -0.0365 0.1386)
OKLCHoklch(78.4% 0.143 104.8)
XYZxyz(42.6497, 48.8978, 11.8933)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD3F #3F49C7
analogous
#C7793F #C7BD3F #8DC73F
triadic
#C7BD3F #3FC7BD #BD3FC7
tetradic
#C7BD3F #3FC779 #3F49C7 #C73F8D
square
#C7BD3F #3FC779 #3F49C7 #C73F8D
split-complementary
#C7BD3F #3F8DC7 #793FC7
monochromatic
#6C6620 #9B932D #C7BD3F #D5CD6E #E3DE9E

Accessibility & contrast

On white

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

On black

10.78
#C7BD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD3F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD3F#FFFFFF#000000##000000
##C7BD3F1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62C
Deuteranopia (green-blind)
#D1BC47
Tritanopia (blue-blind)
#D6B0A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd3f;
/* rgb */ color: rgb(199, 189, 63);
/* oklch */ color: oklch(78.4% 0.143 104.8);
Tailwind
colors: {
  custom: {
    50: '#dbd07b',
    500: '#c7bd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd3f;
$custom-light: #dbd07b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd3f",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 63
  },
  "hsl": {
    "h": 55.588,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78401,
    "c": 0.1433,
    "h": 104.8
  },
  "luminance": 0.48896
}

Semantic roles & 50–950 ramp

primary
#C7BD3F
secondary
#9397CF
accent
#55DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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