#7B8116#7B8116

#7B8116 is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.122 H 113.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7B8116
RGBrgb(123, 129, 22)
HSLhsl(63, 71%, 30%)
HSVhsv(63, 83%, 51%)
CMYKcmyk(4.7%, 0%, 82.9%, 49.4%)
CIE-LABlab(51.80, -15.24, 51.76)
CIE-LCHlch(51.80, 53.96, 106.40°)
OKLaboklab(57.93% -0.0477 0.1122)
OKLCHoklch(57.93% 0.122 113)
XYZxyz(16.1640, 19.9698, 3.7620)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8116 #1C1681
analogous
#815116 #7B8116 #468116
triadic
#7B8116 #167B81 #81167B
tetradic
#7B8116 #168151 #1C1681 #811646
square
#7B8116 #168151 #1C1681 #811646
split-complementary
#7B8116 #164681 #511681
monochromatic
#191A04 #494D0D #7B8116 #ADB51F #D3DD35

Accessibility & contrast

On white

4.21
#7B8116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7B8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8116
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8116#FFFFFF#000000##000000
##7B81161.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7D21
Tritanopia (blue-blind)
#84796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b8116;
/* rgb */ color: rgb(123, 129, 22);
/* oklch */ color: oklch(57.9% 0.122 113.0);
Tailwind
colors: {
  custom: {
    50: '#a5a55f',
    500: '#7b8116',
    950: '#000000',
  },
}
SCSS
$custom: #7b8116;
$custom-light: #a5a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8116",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 63.364,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.12194,
    "h": 113
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#7B8116
secondary
#443DB6
accent
#3AEE44
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B8116

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

Preview Lab → · Contrast checker → · Palette generator →

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