#7B892D#7B892D

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

Color values

HEX#7B892D
RGBrgb(123, 137, 45)
HSLhsl(69, 51%, 36%)
HSVhsv(69, 67%, 54%)
CMYKcmyk(10.2%, 0%, 67.2%, 46.3%)
CIE-LABlab(54.34, -18.25, 45.76)
CIE-LCHlch(54.34, 49.27, 111.74°)
OKLaboklab(60.01% -0.0539 0.1037)
OKLCHoklch(60.01% 0.117 117.5)
XYZxyz(17.5880, 22.2919, 5.8583)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B892D #3B2D89
analogous
#89692D #7B892D #4D892D
triadic
#7B892D #2D7B89 #892D7B
tetradic
#7B892D #2D8969 #3B2D89 #892D4D
square
#7B892D #2D8969 #3B2D89 #892D4D
split-complementary
#7B892D #2D4D89 #692D89
monochromatic
#282D0F #525B1E #7B892D #A4B73C #BCCC64

Accessibility & contrast

On white

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

On black

5.46
#7B892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B892D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B892D#FFFFFF#000000##000000
##7B892D1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b892d;
/* rgb */ color: rgb(123, 137, 45);
/* oklch */ color: oklch(60.0% 0.117 117.5);
Tailwind
colors: {
  custom: {
    50: '#a4ab6b',
    500: '#7b892d',
    950: '#000000',
  },
}
SCSS
$custom: #7b892d;
$custom-light: #a4ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b892d",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 69.13,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60007,
    "c": 0.11684,
    "h": 117.5
  },
  "luminance": 0.22292
}

Semantic roles & 50–950 ramp

primary
#7B892D
secondary
#6C5FB3
accent
#4EDA63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B892D

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

Preview Lab → · Contrast checker → · Palette generator →

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