#7D892D#7D892D

#7D892D is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.2% C 0.116 H 116.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D892D
RGBrgb(125, 137, 45)
HSLhsl(68, 51%, 36%)
HSVhsv(68, 67%, 54%)
CMYKcmyk(8.8%, 0%, 67.2%, 46.3%)
CIE-LABlab(54.49, -17.37, 45.98)
CIE-LCHlch(54.49, 49.15, 110.69°)
OKLaboklab(60.17% -0.0516 0.1041)
OKLCHoklch(60.17% 0.116 116.4)
XYZxyz(17.8772, 22.4410, 5.8719)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D892D #392D89
analogous
#89672D #7D892D #4F892D
triadic
#7D892D #2D7D89 #892D7D
tetradic
#7D892D #2D8967 #392D89 #892D4F
square
#7D892D #2D8967 #392D89 #892D4F
split-complementary
#7D892D #2D4F89 #672D89
monochromatic
#292D0F #535B1E #7D892D #A7B73C #BFCC64

Accessibility & contrast

On white

3.83
#7D892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7D892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D892D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D892D#FFFFFF#000000##000000
##7D892D1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#858176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d892d;
/* rgb */ color: rgb(125, 137, 45);
/* oklch */ color: oklch(60.2% 0.116 116.4);
Tailwind
colors: {
  custom: {
    50: '#a5ab6b',
    500: '#7d892d',
    950: '#000000',
  },
}
SCSS
$custom: #7d892d;
$custom-light: #a5ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d892d",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 67.826,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.11614,
    "h": 116.4
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

primary
#7D892D
secondary
#6A5FB3
accent
#4EDA60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D892D

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

Preview Lab → · Contrast checker → · Palette generator →

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