#7D8A35#7D8A35

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

Color values

HEX#7D8A35
RGBrgb(125, 138, 53)
HSLhsl(69, 45%, 37%)
HSVhsv(69, 62%, 54%)
CMYKcmyk(9.4%, 0%, 61.6%, 45.9%)
CIE-LABlab(54.86, -17.30, 42.79)
CIE-LCHlch(54.86, 46.15, 112.01°)
OKLaboklab(60.49% -0.0505 0.0985)
OKLCHoklch(60.49% 0.111 117.2)
XYZxyz(18.1889, 22.7942, 6.8090)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A35 #42358A
analogous
#8A6C35 #7D8A35 #538A35
triadic
#7D8A35 #357D8A #8A357D
tetradic
#7D8A35 #358A6C #42358A #8A3553
square
#7D8A35 #358A6C #42358A #8A3553
split-complementary
#7D8A35 #35538A #6C358A
monochromatic
#2D3213 #555E24 #7D8A35 #A5B646 #BBC871

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8A35#FFFFFF#000000##000000
##7D8A351.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)
#93832B
Deuteranopia (green-blind)
#92843A
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a35;
/* rgb */ color: rgb(125, 138, 53);
/* oklch */ color: oklch(60.5% 0.111 117.2);
Tailwind
colors: {
  custom: {
    50: '#a5ac70',
    500: '#7d8a35',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a35;
$custom-light: #a5ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a35",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 69.176,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.11068,
    "h": 117.2
  },
  "luminance": 0.22794
}

Semantic roles & 50–950 ramp

primary
#7D8A35
secondary
#756AB1
accent
#54D467
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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