#7C8143#7C8143

#7C8143 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.085 H 112.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7C8143
RGBrgb(124, 129, 67)
HSLhsl(65, 32%, 38%)
HSVhsv(65, 48%, 51%)
CMYKcmyk(3.9%, 0%, 48.1%, 49.4%)
CIE-LABlab(52.28, -11.61, 32.78)
CIE-LCHlch(52.28, 34.78, 109.51°)
OKLaboklab(58.45% -0.0329 0.0784)
OKLCHoklch(58.45% 0.085 112.8)
XYZxyz(17.1758, 20.3911, 8.3402)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8143 #484381
analogous
#816743 #7C8143 #5D8143
triadic
#7C8143 #437C81 #81437C
tetradic
#7C8143 #438167 #484381 #81435D
square
#7C8143 #438167 #484381 #81435D
split-complementary
#7C8143 #435D81 #674381
monochromatic
#2F3019 #55592E #7C8143 #A2A959 #B9BE81

Accessibility & contrast

On white

4.14
#7C8143 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7C8143 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8143
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8143#FFFFFF#000000##000000
##7C81431.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3E
Deuteranopia (green-blind)
#897D46
Tritanopia (blue-blind)
#837B72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8143;
/* rgb */ color: rgb(124, 129, 67);
/* oklch */ color: oklch(58.5% 0.085 112.8);
Tailwind
colors: {
  custom: {
    50: '#a3a578',
    500: '#7c8143',
    950: '#000000',
  },
}
SCSS
$custom: #7c8143;
$custom-light: #a3a578;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8143",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 67
  },
  "hsl": {
    "h": 64.839,
    "s": 31.633,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.08499,
    "h": 112.8
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#7C8143
secondary
#7B77A9
accent
#60C868
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8143

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

Preview Lab → · Contrast checker → · Palette generator →

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