#7D892A#7D892A

#7D892A is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.118 H 116.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D892A
RGBrgb(125, 137, 42)
HSLhsl(68, 53%, 35%)
HSVhsv(68, 69%, 54%)
CMYKcmyk(8.8%, 0%, 69.3%, 46.3%)
CIE-LABlab(54.47, -17.56, 47.22)
CIE-LCHlch(54.47, 50.38, 110.41°)
OKLaboklab(60.15% -0.0524 0.1062)
OKLCHoklch(60.15% 0.118 116.3)
XYZxyz(17.8214, 22.4187, 5.5785)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D892A #362A89
analogous
#89662A #7D892A #4D892A
triadic
#7D892A #2A7D89 #892A7D
tetradic
#7D892A #2A8966 #362A89 #892A4D
square
#7D892A #2A8966 #362A89 #892A4D
split-complementary
#7D892A #2A4D89 #662A89
monochromatic
#282B0D #525A1C #7D892A #A8B838 #C0CE5F

Accessibility & contrast

On white

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

On black

5.48
#7D892A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D892A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D892A#FFFFFF#000000##000000
##7D892A1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#858176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d892a;
/* rgb */ color: rgb(125, 137, 42);
/* oklch */ color: oklch(60.1% 0.118 116.3);
Tailwind
colors: {
  custom: {
    50: '#a5ab69',
    500: '#7d892a',
    950: '#000000',
  },
}
SCSS
$custom: #7d892a;
$custom-light: #a5ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d892a",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 67.579,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60145,
    "c": 0.11842,
    "h": 116.3
  },
  "luminance": 0.22418
}

Semantic roles & 50–950 ramp

primary
#7D892A
secondary
#665BB4
accent
#4BDC5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D892A

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

Preview Lab → · Contrast checker → · Palette generator →

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