#7A892D#7A892D

#7A892D is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.117 H 118.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A892D
RGBrgb(122, 137, 45)
HSLhsl(70, 51%, 36%)
HSVhsv(70, 67%, 54%)
CMYKcmyk(10.9%, 0%, 67.2%, 46.3%)
CIE-LABlab(54.26, -18.68, 45.66)
CIE-LCHlch(54.26, 49.33, 112.25°)
OKLaboklab(59.93% -0.0551 0.1035)
OKLCHoklch(59.93% 0.117 118)
XYZxyz(17.4457, 22.2185, 5.8517)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A892D #3C2D89
analogous
#896A2D #7A892D #4C892D
triadic
#7A892D #2D7A89 #892D7A
tetradic
#7A892D #2D896A #3C2D89 #892D4C
square
#7A892D #2D896A #3C2D89 #892D4C
split-complementary
#7A892D #2D4C89 #6A2D89
monochromatic
#282D0F #515B1E #7A892D #A3B73C #BBCC64

Accessibility & contrast

On white

3.86
#7A892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7A892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A892D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A892D#FFFFFF#000000##000000
##7A892D1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a892d;
/* rgb */ color: rgb(122, 137, 45);
/* oklch */ color: oklch(59.9% 0.117 118.0);
Tailwind
colors: {
  custom: {
    50: '#a3ab6b',
    500: '#7a892d',
    950: '#000000',
  },
}
SCSS
$custom: #7a892d;
$custom-light: #a3ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a892d",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 69.783,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.11721,
    "h": 118
  },
  "luminance": 0.22218
}

Semantic roles & 50–950 ramp

primary
#7A892D
secondary
#6D5FB3
accent
#4EDA65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A892D

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

Preview Lab → · Contrast checker → · Palette generator →

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