#7D893D#7D893D

#7D893D is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.3% C 0.102 H 117.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7D893D
RGBrgb(125, 137, 61)
HSLhsl(69, 38%, 39%)
HSVhsv(69, 55%, 54%)
CMYKcmyk(8.8%, 0%, 55.5%, 46.3%)
CIE-LABlab(54.65, -16.08, 38.69)
CIE-LCHlch(54.65, 41.90, 112.56°)
OKLaboklab(60.35% -0.0462 0.0907)
OKLCHoklch(60.35% 0.102 117)
XYZxyz(18.2457, 22.5884, 7.8128)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D893D #493D89
analogous
#896F3D #7D893D #57893D
triadic
#7D893D #3D7D89 #893D7D
tetradic
#7D893D #3D896F #493D89 #893D57
square
#7D893D #3D896F #493D89 #893D57
split-complementary
#7D893D #3D5789 #6F3D89
monochromatic
#303417 #565F2A #7D893D #A3B251 #B9C57C

Accessibility & contrast

On white

3.81
#7D893D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7D893D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D893D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D893D#FFFFFF#000000##000000
##7D893D1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918236
Deuteranopia (green-blind)
#908341
Tritanopia (blue-blind)
#848278
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d893d;
/* rgb */ color: rgb(125, 137, 61);
/* oklch */ color: oklch(60.3% 0.102 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4ab75',
    500: '#7d893d',
    950: '#000000',
  },
}
SCSS
$custom: #7d893d;
$custom-light: #a4ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#7d893d",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 61
  },
  "hsl": {
    "h": 69.474,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.1018,
    "h": 117
  },
  "luminance": 0.22588
}

Semantic roles & 50–950 ramp

primary
#7D893D
secondary
#7D73AE
accent
#59CE6C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D893D

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

Preview Lab → · Contrast checker → · Palette generator →

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