#7B8121#7B8121

#7B8121 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.116 H 113.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7B8121
RGBrgb(123, 129, 33)
HSLhsl(64, 59%, 32%)
HSVhsv(64, 74%, 51%)
CMYKcmyk(4.7%, 0%, 74.4%, 49.4%)
CIE-LABlab(51.86, -14.75, 48.14)
CIE-LCHlch(51.86, 50.35, 107.04°)
OKLaboklab(58% -0.0454 0.1066)
OKLCHoklch(58% 0.116 113.1)
XYZxyz(16.2936, 20.0216, 4.4448)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8121 #272181
analogous
#815721 #7B8121 #4B8121
triadic
#7B8121 #217B81 #81217B
tetradic
#7B8121 #218157 #272181 #81214B
square
#7B8121 #218157 #272181 #81214B
split-complementary
#7B8121 #214B81 #572181
monochromatic
#1E2008 #4D5015 #7B8121 #A9B22D #C9D14B

Accessibility & contrast

On white

4.20
#7B8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7B8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8121
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8121#FFFFFF#000000##000000
##7B81211.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#84796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b8121;
/* rgb */ color: rgb(123, 129, 33);
/* oklch */ color: oklch(58.0% 0.116 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a564',
    500: '#7b8121',
    950: '#000000',
  },
}
SCSS
$custom: #7b8121;
$custom-light: #a4a564;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8121",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 63.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.11587,
    "h": 113.1
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#7B8121
secondary
#514AB4
accent
#45E24F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7B8121

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

Preview Lab → · Contrast checker → · Palette generator →

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