#7B8110#7B8110

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

Color values

HEX#7B8110
RGBrgb(123, 129, 16)
HSLhsl(63, 78%, 28%)
HSVhsv(63, 88%, 51%)
CMYKcmyk(4.7%, 0%, 87.6%, 49.4%)
CIE-LABlab(51.78, -15.43, 53.32)
CIE-LCHlch(51.78, 55.51, 106.14°)
OKLaboklab(57.9% -0.0486 0.1145)
OKLCHoklch(57.9% 0.124 113)
XYZxyz(16.1127, 19.9493, 3.4919)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8110 #161081
analogous
#814E10 #7B8110 #428110
triadic
#7B8110 #107B81 #81107B
tetradic
#7B8110 #10814E #161081 #811042
square
#7B8110 #10814E #161081 #811042
split-complementary
#7B8110 #104281 #4E1081
monochromatic
#1A1B03 #474B09 #7B8110 #AFB717 #DAE427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8110#FFFFFF#000000##000000
##7B81101.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)
#8C7D1D
Tritanopia (blue-blind)
#84796D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b8110;
/* rgb */ color: rgb(123, 129, 16);
/* oklch */ color: oklch(57.9% 0.124 113.0);
Tailwind
colors: {
  custom: {
    50: '#a5a55d',
    500: '#7b8110',
    950: '#000000',
  },
}
SCSS
$custom: #7b8110;
$custom-light: #a5a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8110",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 63.186,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.12442,
    "h": 113
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#7B8110
secondary
#3D36B7
accent
#33F43E
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B8110

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

Preview Lab → · Contrast checker → · Palette generator →

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