#7B8B14#7B8B14

#7B8B14 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.3% C 0.134 H 117.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7B8B14
RGBrgb(123, 139, 20)
HSLhsl(68, 75%, 31%)
HSVhsv(68, 86%, 55%)
CMYKcmyk(11.5%, 0%, 85.6%, 45.5%)
CIE-LABlab(54.79, -20.53, 54.88)
CIE-LCHlch(54.79, 58.59, 110.51°)
OKLaboklab(60.33% -0.0624 0.1186)
OKLCHoklch(60.33% 0.134 117.8)
XYZxyz(17.5277, 22.7269, 4.1251)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8B14 #24148B
analogous
#8B5F14 #7B8B14 #3F8B14
triadic
#7B8B14 #147B8B #8B147B
tetradic
#7B8B14 #148B5F #24148B #8B143F
square
#7B8B14 #148B5F #24148B #8B143F
split-complementary
#7B8B14 #143F8B #5F148B
monochromatic
#1C2005 #4C550C #7B8B14 #AAC11C #CBE237

Accessibility & contrast

On white

3.79
#7B8B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8B14#FFFFFF#000000##000000
##7B8B141.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938421
Tritanopia (blue-blind)
#838376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8b14;
/* rgb */ color: rgb(123, 139, 20);
/* oklch */ color: oklch(60.3% 0.134 117.8);
Tailwind
colors: {
  custom: {
    50: '#a5ac60',
    500: '#7b8b14',
    950: '#000000',
  },
}
SCSS
$custom: #7b8b14;
$custom-light: #a5ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8b14",
  "rgb": {
    "r": 123,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 68.067,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.134,
    "h": 117.8
  },
  "luminance": 0.22727
}

Semantic roles & 50–950 ramp

primary
#7B8B14
secondary
#4D3CBF
accent
#36F14F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B8B14

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

Preview Lab → · Contrast checker → · Palette generator →

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