#7D8A39#7D8A39

#7D8A39 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.107 H 117.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7D8A39
RGBrgb(125, 138, 57)
HSLhsl(70, 42%, 38%)
HSVhsv(70, 59%, 54%)
CMYKcmyk(9.4%, 0%, 58.7%, 45.9%)
CIE-LABlab(54.90, -16.96, 40.94)
CIE-LCHlch(54.90, 44.31, 112.51°)
OKLaboklab(60.53% -0.0492 0.0951)
OKLCHoklch(60.53% 0.107 117.3)
XYZxyz(18.2847, 22.8325, 7.3140)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A39 #46398A
analogous
#8A6E39 #7D8A39 #548A39
triadic
#7D8A39 #397D8A #8A397D
tetradic
#7D8A39 #398A6E #46398A #8A3954
square
#7D8A39 #398A6E #46398A #8A3954
split-complementary
#7D8A39 #39548A #6E398A
monochromatic
#2F3315 #565F27 #7D8A39 #A4B54B #BAC777

Accessibility & contrast

On white

3.77
#7D8A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7D8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A39
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A39#FFFFFF#000000##000000
##7D8A391.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938330
Deuteranopia (green-blind)
#91843E
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a39;
/* rgb */ color: rgb(125, 138, 57);
/* oklch */ color: oklch(60.5% 0.107 117.3);
Tailwind
colors: {
  custom: {
    50: '#a5ac72',
    500: '#7d8a39',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a39;
$custom-light: #a5ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a39",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 69.63,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.10702,
    "h": 117.3
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#7D8A39
secondary
#796FB0
accent
#56D16A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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