#7C8256#7C8256

#7C8256 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.063 H 114.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C8256
RGBrgb(124, 130, 86)
HSLhsl(68, 20%, 42%)
HSVhsv(68, 34%, 51%)
CMYKcmyk(4.6%, 0%, 33.8%, 49%)
CIE-LABlab(52.86, -9.83, 23.13)
CIE-LCHlch(52.86, 25.13, 113.04°)
OKLaboklab(59.02% -0.0264 0.0574)
OKLCHoklch(59.02% 0.063 114.7)
XYZxyz(17.9745, 20.9224, 11.8938)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8256 #5C5682
analogous
#827256 #7C8256 #668256
triadic
#7C8256 #567C82 #82567C
tetradic
#7C8256 #568272 #5C5682 #825666
square
#7C8256 #568272 #5C5682 #825666
split-complementary
#7C8256 #566682 #725682
monochromatic
#363825 #595D3E #7C8256 #9CA273 #B6BB98

Accessibility & contrast

On white

4.05
#7C8256 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7C8256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8256
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8256#FFFFFF#000000##000000
##7C82561.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E53
Deuteranopia (green-blind)
#887F58
Tritanopia (blue-blind)
#817D77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8256;
/* rgb */ color: rgb(124, 130, 86);
/* oklch */ color: oklch(59.0% 0.063 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a686',
    500: '#7c8256',
    950: '#000000',
  },
}
SCSS
$custom: #7c8256;
$custom-light: #a2a686;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8256",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 68.182,
    "s": 20.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.06319,
    "h": 114.7
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#7C8256
secondary
#8F8BA8
accent
#6BBD76
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #7C8256

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

Preview Lab → · Contrast checker → · Palette generator →

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