#7C8451#7C8451

#7C8451 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.072 H 115.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C8451
RGBrgb(124, 132, 81)
HSLhsl(69, 24%, 42%)
HSVhsv(69, 39%, 52%)
CMYKcmyk(6.1%, 0%, 38.6%, 48.2%)
CIE-LABlab(53.37, -11.60, 26.56)
CIE-LCHlch(53.37, 28.98, 113.59°)
OKLaboklab(59.39% -0.0317 0.0652)
OKLCHoklch(59.39% 0.073 115.9)
XYZxyz(18.0487, 21.3819, 10.9593)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8451 #595184
analogous
#847351 #7C8451 #638451
triadic
#7C8451 #517C84 #84517C
tetradic
#7C8451 #518473 #595184 #845163
square
#7C8451 #518473 #595184 #845163
split-complementary
#7C8451 #516384 #735184
monochromatic
#353822 #585E3A #7C8451 #9CA56D #B6BD93

Accessibility & contrast

On white

3.98
#7C8451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7C8451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8451
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8451#FFFFFF#000000##000000
##7C84511.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4D
Deuteranopia (green-blind)
#8A8053
Tritanopia (blue-blind)
#817F77
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8451;
/* rgb */ color: rgb(124, 132, 81);
/* oklch */ color: oklch(59.4% 0.072 115.9);
Tailwind
colors: {
  custom: {
    50: '#a3a782',
    500: '#7c8451',
    950: '#000000',
  },
}
SCSS
$custom: #7c8451;
$custom-light: #a3a782;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8451",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 69.412,
    "s": 23.944,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5939,
    "c": 0.0725,
    "h": 115.9
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#7C8451
secondary
#8D87AA
accent
#67C075
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C8451

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

Preview Lab → · Contrast checker → · Palette generator →

#7C8451 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva