#C7BF71#C7BF71

#C7BF71 is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.100 H 103.3°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#C7BF71
RGBrgb(199, 191, 113)
HSLhsl(54, 43%, 61%)
HSVhsv(54, 43%, 78%)
CMYKcmyk(0%, 4%, 43.2%, 22%)
CIE-LABlab(76.43, -8.25, 40.25)
CIE-LCHlch(76.43, 41.08, 101.58°)
OKLaboklab(79.4% -0.023 0.0973)
OKLCHoklch(79.4% 0.1 103.3)
XYZxyz(45.1656, 50.5972, 23.0066)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF71 #7179C7
analogous
#C79471 #C7BF71 #A4C771
triadic
#C7BF71 #71C7BF #BF71C7
tetradic
#C7BF71 #71C794 #7179C7 #C771A4
square
#C7BF71 #71C794 #7179C7 #C771A4
split-complementary
#C7BF71 #71A4C7 #9471C7
monochromatic
#888036 #B4AA47 #C7BF71 #D8D39D #EAE7C9

Accessibility & contrast

On white

1.89
#C7BF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#C7BF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF71
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF71#FFFFFF#000000##000000
##C7BF711.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBA6B
Deuteranopia (green-blind)
#CEBF74
Tritanopia (blue-blind)
#D2B5AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7bf71;
/* rgb */ color: rgb(199, 191, 113);
/* oklch */ color: oklch(79.4% 0.100 103.3);
Tailwind
colors: {
  custom: {
    50: '#d9d29b',
    500: '#c7bf71',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf71;
$custom-light: #d9d29b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf71",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 113
  },
  "hsl": {
    "h": 54.419,
    "s": 43.434,
    "l": 61.176
  },
  "oklch": {
    "l": 0.79398,
    "c": 0.1,
    "h": 103.3
  },
  "luminance": 0.50596
}

Semantic roles & 50–950 ramp

primary
#C7BF71
secondary
#4D5390
accent
#3CB72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7BF71

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

Preview Lab → · Contrast checker → · Palette generator →

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