#7A892C#7A892C

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

Color values

HEX#7A892C
RGBrgb(122, 137, 44)
HSLhsl(70, 51%, 35%)
HSVhsv(70, 68%, 54%)
CMYKcmyk(10.9%, 0%, 67.9%, 46.3%)
CIE-LABlab(54.25, -18.75, 46.08)
CIE-LCHlch(54.25, 49.75, 112.14°)
OKLaboklab(59.92% -0.0553 0.1042)
OKLCHoklch(59.92% 0.118 118)
XYZxyz(17.4267, 22.2109, 5.7515)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A892C #3B2C89
analogous
#89692C #7A892C #4C892C
triadic
#7A892C #2C7A89 #892C7A
tetradic
#7A892C #2C8969 #3B2C89 #892C4C
square
#7A892C #2C8969 #3B2C89 #892C4C
split-complementary
#7A892C #2C4C89 #692C89
monochromatic
#272C0E #515B1D #7A892C #A3B73B #BCCD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A892C#FFFFFF#000000##000000
##7A892C1.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)
#92821F
Deuteranopia (green-blind)
#918233
Tritanopia (blue-blind)
#818176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a892c;
/* rgb */ color: rgb(122, 137, 44);
/* oklch */ color: oklch(59.9% 0.118 118.0);
Tailwind
colors: {
  custom: {
    50: '#a3ab6b',
    500: '#7a892c',
    950: '#000000',
  },
}
SCSS
$custom: #7a892c;
$custom-light: #a3ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a892c",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 69.677,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.11798,
    "h": 118
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#7A892C
secondary
#6C5EB3
accent
#4DDB64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A892C

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

Preview Lab → · Contrast checker → · Palette generator →

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