#7D892E#7D892E

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

Color values

HEX#7D892E
RGBrgb(125, 137, 46)
HSLhsl(68, 50%, 36%)
HSVhsv(68, 66%, 54%)
CMYKcmyk(8.8%, 0%, 66.4%, 46.3%)
CIE-LABlab(54.50, -17.30, 45.55)
CIE-LCHlch(54.50, 48.73, 110.79°)
OKLaboklab(60.18% -0.0513 0.1033)
OKLCHoklch(60.18% 0.115 116.4)
XYZxyz(17.8966, 22.4488, 5.9745)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D892E #3A2E89
analogous
#89672E #7D892E #4F892E
triadic
#7D892E #2E7D89 #892E7D
tetradic
#7D892E #2E8967 #3A2E89 #892E4F
square
#7D892E #2E8967 #3A2E89 #892E4F
split-complementary
#7D892E #2E4F89 #672E89
monochromatic
#292D0F #535B1F #7D892E #A7B73D #BECC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D892E#FFFFFF#000000##000000
##7D892E1.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)
#928222
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#858176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d892e;
/* rgb */ color: rgb(125, 137, 46);
/* oklch */ color: oklch(60.2% 0.115 116.4);
Tailwind
colors: {
  custom: {
    50: '#a5ab6c',
    500: '#7d892e',
    950: '#000000',
  },
}
SCSS
$custom: #7d892e;
$custom-light: #a5ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d892e",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 67.912,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.11535,
    "h": 116.4
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#7D892E
secondary
#6B60B2
accent
#4FD961
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D892E

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

Preview Lab → · Contrast checker → · Palette generator →

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