#7D8A37#7D8A37

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

Color values

HEX#7D8A37
RGBrgb(125, 138, 55)
HSLhsl(69, 43%, 38%)
HSVhsv(69, 60%, 54%)
CMYKcmyk(9.4%, 0%, 60.1%, 45.9%)
CIE-LABlab(54.88, -17.13, 41.87)
CIE-LCHlch(54.88, 45.24, 112.25°)
OKLaboklab(60.51% -0.0498 0.0968)
OKLCHoklch(60.51% 0.109 117.2)
XYZxyz(18.2358, 22.8130, 7.0564)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A37 #44378A
analogous
#8A6E37 #7D8A37 #538A37
triadic
#7D8A37 #377D8A #8A377D
tetradic
#7D8A37 #378A6E #44378A #8A3753
square
#7D8A37 #378A6E #44378A #8A3753
split-complementary
#7D8A37 #37538A #6E378A
monochromatic
#2E3214 #555E26 #7D8A37 #A5B648 #BAC874

Accessibility & contrast

On white

3.78
#7D8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7D8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A37
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A37#FFFFFF#000000##000000
##7D8A371.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832E
Deuteranopia (green-blind)
#92843C
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a37;
/* rgb */ color: rgb(125, 138, 55);
/* oklch */ color: oklch(60.5% 0.109 117.2);
Tailwind
colors: {
  custom: {
    50: '#a5ac71',
    500: '#7d8a37',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a37;
$custom-light: #a5ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a37",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 69.398,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.10888,
    "h": 117.2
  },
  "luminance": 0.22813
}

Semantic roles & 50–950 ramp

primary
#7D8A37
secondary
#776DB0
accent
#55D369
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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