#7B892A#7B892A

#7B892A is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.0% C 0.119 H 117.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7B892A
RGBrgb(123, 137, 42)
HSLhsl(69, 53%, 35%)
HSVhsv(69, 69%, 54%)
CMYKcmyk(10.2%, 0%, 69.3%, 46.3%)
CIE-LABlab(54.31, -18.45, 47.01)
CIE-LCHlch(54.31, 50.50, 111.43°)
OKLaboklab(59.98% -0.0548 0.1058)
OKLCHoklch(59.98% 0.119 117.4)
XYZxyz(17.5323, 22.2696, 5.5649)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B892A #382A89
analogous
#89672A #7B892A #4B892A
triadic
#7B892A #2A7B89 #892A7B
tetradic
#7B892A #2A8967 #382A89 #892A4B
square
#7B892A #2A8967 #382A89 #892A4B
split-complementary
#7B892A #2A4B89 #672A89
monochromatic
#272B0D #515A1C #7B892A #A5B838 #BECE5F

Accessibility & contrast

On white

3.85
#7B892A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7B892A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B892A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B892A#FFFFFF#000000##000000
##7B892A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821C
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#838176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b892a;
/* rgb */ color: rgb(123, 137, 42);
/* oklch */ color: oklch(60.0% 0.119 117.4);
Tailwind
colors: {
  custom: {
    50: '#a4ab69',
    500: '#7b892a',
    950: '#000000',
  },
}
SCSS
$custom: #7b892a;
$custom-light: #a4ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#7b892a",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 68.842,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.11914,
    "h": 117.4
  },
  "luminance": 0.22269
}

Semantic roles & 50–950 ramp

primary
#7B892A
secondary
#685BB4
accent
#4BDC61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B892A

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

Preview Lab → · Contrast checker → · Palette generator →

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