#7B8B1E#7B8B1E

#7B8B1E is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.4% C 0.129 H 117.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7B8B1E
RGBrgb(123, 139, 30)
HSLhsl(69, 64%, 33%)
HSVhsv(69, 78%, 55%)
CMYKcmyk(11.5%, 0%, 78.4%, 45.5%)
CIE-LABlab(54.83, -20.14, 52.00)
CIE-LCHlch(54.83, 55.76, 111.17°)
OKLaboklab(60.38% -0.0606 0.1142)
OKLCHoklch(60.38% 0.129 117.9)
XYZxyz(17.6358, 22.7701, 4.6941)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8B1E #2E1E8B
analogous
#8B641E #7B8B1E #458B1E
triadic
#7B8B1E #1E7B8B #8B1E7B
tetradic
#7B8B1E #1E8B64 #2E1E8B #8B1E45
square
#7B8B1E #1E8B64 #2E1E8B #8B1E45
split-complementary
#7B8B1E #1E458B #641E8B
monochromatic
#222608 #4E5913 #7B8B1E #A8BD29 #C3D84B

Accessibility & contrast

On white

3.78
#7B8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7B8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8B1E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8B1E#FFFFFF#000000##000000
##7B8B1E1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#838377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8b1e;
/* rgb */ color: rgb(123, 139, 30);
/* oklch */ color: oklch(60.4% 0.129 117.9);
Tailwind
colors: {
  custom: {
    50: '#a4ac64',
    500: '#7b8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b8b1e;
$custom-light: #a4ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8b1e",
  "rgb": {
    "r": 123,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 68.807,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.12929,
    "h": 117.9
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#7B8B1E
secondary
#5B4ABB
accent
#40E759
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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