#7B892B#7B892B

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

Color values

HEX#7B892B
RGBrgb(123, 137, 43)
HSLhsl(69, 52%, 35%)
HSVhsv(69, 69%, 54%)
CMYKcmyk(10.2%, 0%, 68.6%, 46.3%)
CIE-LABlab(54.32, -18.38, 46.60)
CIE-LCHlch(54.32, 50.09, 111.53°)
OKLaboklab(59.99% -0.0545 0.1051)
OKLCHoklch(59.99% 0.118 117.4)
XYZxyz(17.5505, 22.2769, 5.6603)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B892B #392B89
analogous
#89682B #7B892B #4C892B
triadic
#7B892B #2B7B89 #892B7B
tetradic
#7B892B #2B8968 #392B89 #892B4C
square
#7B892B #2B8968 #392B89 #892B4C
split-complementary
#7B892B #2B4C89 #682B89
monochromatic
#272C0E #515A1C #7B892B #A5B83A #BDCD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B892B#FFFFFF#000000##000000
##7B892B1.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)
#92821D
Deuteranopia (green-blind)
#918232
Tritanopia (blue-blind)
#838176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b892b;
/* rgb */ color: rgb(123, 137, 43);
/* oklch */ color: oklch(60.0% 0.118 117.4);
Tailwind
colors: {
  custom: {
    50: '#a4ab6a',
    500: '#7b892b',
    950: '#000000',
  },
}
SCSS
$custom: #7b892b;
$custom-light: #a4ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b892b",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 68.936,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.11838,
    "h": 117.4
  },
  "luminance": 0.22277
}

Semantic roles & 50–950 ramp

primary
#7B892B
secondary
#695CB3
accent
#4CDC62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B892B

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

Preview Lab → · Contrast checker → · Palette generator →

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