#7C8339#7C8339

#7C8339 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.8% C 0.098 H 113.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7C8339
RGBrgb(124, 131, 57)
HSLhsl(66, 39%, 37%)
HSVhsv(66, 56%, 51%)
CMYKcmyk(5.3%, 0%, 56.5%, 48.6%)
CIE-LABlab(52.74, -13.68, 38.47)
CIE-LCHlch(52.74, 40.83, 109.57°)
OKLaboklab(58.79% -0.0398 0.0898)
OKLCHoklch(58.79% 0.098 113.9)
XYZxyz(17.1673, 20.8134, 6.9831)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8339 #403983
analogous
#836539 #7C8339 #578339
triadic
#7C8339 #397C83 #83397C
tetradic
#7C8339 #398365 #403983 #833957
square
#7C8339 #398365 #403983 #833957
split-complementary
#7C8339 #395783 #653983
monochromatic
#2B2E14 #545826 #7C8339 #A4AE4C #BBC274

Accessibility & contrast

On white

4.07
#7C8339 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7C8339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8339
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8339#FFFFFF#000000##000000
##7C83391.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D32
Deuteranopia (green-blind)
#8B7F3D
Tritanopia (blue-blind)
#837C73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8339;
/* rgb */ color: rgb(124, 131, 57);
/* oklch */ color: oklch(58.8% 0.098 113.9);
Tailwind
colors: {
  custom: {
    50: '#a4a772',
    500: '#7c8339',
    950: '#000000',
  },
}
SCSS
$custom: #7c8339;
$custom-light: #a4a772;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8339",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 65.676,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.09822,
    "h": 113.9
  },
  "luminance": 0.20813
}

Semantic roles & 50–950 ramp

primary
#7C8339
secondary
#726CAC
accent
#59CF64
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7C8339

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

Preview Lab → · Contrast checker → · Palette generator →

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