#C7BF4D#C7BF4D

#C7BF4D is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.9% C 0.135 H 105.3°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C7BF4D
RGBrgb(199, 191, 77)
HSLhsl(56, 52%, 54%)
HSVhsv(56, 61%, 78%)
CMYKcmyk(0%, 4%, 61.3%, 22%)
CIE-LABlab(76.03, -11.30, 56.86)
CIE-LCHlch(76.03, 57.97, 101.24°)
OKLaboklab(78.95% -0.0355 0.13)
OKLCHoklch(78.95% 0.135 105.3)
XYZxyz(43.5251, 49.9410, 14.3666)
Luminance0.4994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF4D #4D55C7
analogous
#C7824D #C7BF4D #92C74D
triadic
#C7BF4D #4DC7BF #BF4DC7
tetradic
#C7BF4D #4DC782 #4D55C7 #C74D92
square
#C7BF4D #4DC782 #4D55C7 #C74D92
split-complementary
#C7BF4D #4D92C7 #824DC7
monochromatic
#757025 #A39C33 #C7BF4D #D6D07C #E4E0AA

Accessibility & contrast

On white

1.91
#C7BF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#C7BF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF4D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF4D#FFFFFF#000000##000000
##C7BF4D1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB940
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#D5B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf4d;
/* rgb */ color: rgb(199, 191, 77);
/* oklch */ color: oklch(78.9% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#dbd284',
    500: '#c7bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf4d;
$custom-light: #dbd284;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf4d",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 56.066,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78949,
    "c": 0.13471,
    "h": 105.3
  },
  "luminance": 0.4994
}

Semantic roles & 50–950 ramp

primary
#C7BF4D
secondary
#9EA1D2
accent
#56DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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