#7C8442#7C8442

#7C8442 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.1% C 0.090 H 114.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7C8442
RGBrgb(124, 132, 66)
HSLhsl(67, 33%, 39%)
HSVhsv(67, 50%, 52%)
CMYKcmyk(6.1%, 0%, 50%, 48.2%)
CIE-LABlab(53.15, -13.35, 34.36)
CIE-LCHlch(53.15, 36.86, 111.23°)
OKLaboklab(59.15% -0.0379 0.0818)
OKLCHoklch(59.15% 0.09 114.9)
XYZxyz(17.5471, 21.1812, 8.3172)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8442 #4A4284
analogous
#846B42 #7C8442 #5B8442
triadic
#7C8442 #427C84 #84427C
tetradic
#7C8442 #42846B #4A4284 #84425B
square
#7C8442 #42846B #4A4284 #84425B
split-complementary
#7C8442 #425B84 #6B4284
monochromatic
#2F3219 #565B2E #7C8442 #A1AB58 #B8C081

Accessibility & contrast

On white

4.01
#7C8442 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7C8442 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8442
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8442#FFFFFF#000000##000000
##7C84421.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3C
Deuteranopia (green-blind)
#8B8045
Tritanopia (blue-blind)
#837E75
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8442;
/* rgb */ color: rgb(124, 132, 66);
/* oklch */ color: oklch(59.1% 0.090 114.9);
Tailwind
colors: {
  custom: {
    50: '#a3a778',
    500: '#7c8442',
    950: '#000000',
  },
}
SCSS
$custom: #7c8442;
$custom-light: #a3a778;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8442",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 66
  },
  "hsl": {
    "h": 67.273,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59145,
    "c": 0.09012,
    "h": 114.9
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#7C8442
secondary
#7D77AB
accent
#5EC96B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8442

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

Preview Lab → · Contrast checker → · Palette generator →

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