#C7BF70#C7BF70

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

Color values

HEX#C7BF70
RGBrgb(199, 191, 112)
HSLhsl(54, 44%, 61%)
HSVhsv(54, 44%, 78%)
CMYKcmyk(0%, 4%, 43.7%, 22%)
CIE-LABlab(76.42, -8.35, 40.73)
CIE-LCHlch(76.42, 41.58, 101.59°)
OKLaboklab(79.38% -0.0234 0.0984)
OKLCHoklch(79.38% 0.101 103.4)
XYZxyz(45.1096, 50.5748, 22.7118)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF70 #7078C7
analogous
#C79370 #C7BF70 #A3C770
triadic
#C7BF70 #70C7BF #BF70C7
tetradic
#C7BF70 #70C793 #7078C7 #C770A3
square
#C7BF70 #70C793 #7078C7 #C770A3
split-complementary
#C7BF70 #70A3C7 #9370C7
monochromatic
#888035 #B4A946 #C7BF70 #D8D39C #E9E6C8

Accessibility & contrast

On white

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

On black

11.11
#C7BF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF70
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF70#FFFFFF#000000##000000
##C7BF701.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBA6A
Deuteranopia (green-blind)
#CFBF73
Tritanopia (blue-blind)
#D3B5AC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7bf70;
/* rgb */ color: rgb(199, 191, 112);
/* oklch */ color: oklch(79.4% 0.101 103.4);
Tailwind
colors: {
  custom: {
    50: '#d9d29a',
    500: '#c7bf70',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf70;
$custom-light: #d9d29a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf70",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 112
  },
  "hsl": {
    "h": 54.483,
    "s": 43.719,
    "l": 60.98
  },
  "oklch": {
    "l": 0.79383,
    "c": 0.10109,
    "h": 103.4
  },
  "luminance": 0.50574
}

Semantic roles & 50–950 ramp

primary
#C7BF70
secondary
#4C528F
accent
#3BB72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7BF70

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

Preview Lab → · Contrast checker → · Palette generator →

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