#7B8A13#7B8A13

#7B8A13 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.133 H 117.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7B8A13
RGBrgb(123, 138, 19)
HSLhsl(68, 76%, 31%)
HSVhsv(68, 86%, 54%)
CMYKcmyk(10.9%, 0%, 86.2%, 45.9%)
CIE-LABlab(54.49, -20.05, 54.87)
CIE-LCHlch(54.49, 58.42, 110.07°)
OKLaboklab(60.08% -0.0611 0.1184)
OKLCHoklch(60.08% 0.133 117.3)
XYZxyz(17.3749, 22.4351, 4.0311)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A13 #22138A
analogous
#8A5D13 #7B8A13 #3F8A13
triadic
#7B8A13 #137B8A #8A137B
tetradic
#7B8A13 #138A5D #22138A #8A133F
square
#7B8A13 #138A5D #22138A #8A133F
split-complementary
#7B8A13 #133F8A #5D138A
monochromatic
#1B1E04 #4B540C #7B8A13 #ABC01A #CDE334

Accessibility & contrast

On white

3.83
#7B8A13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7B8A13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A13
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A13#FFFFFF#000000##000000
##7B8A131.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#838275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b8a13;
/* rgb */ color: rgb(123, 138, 19);
/* oklch */ color: oklch(60.1% 0.133 117.3);
Tailwind
colors: {
  custom: {
    50: '#a5ac5f',
    500: '#7b8a13',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a13;
$custom-light: #a5ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a13",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 67.563,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.13325,
    "h": 117.3
  },
  "luminance": 0.22435
}

Semantic roles & 50–950 ramp

primary
#7B8A13
secondary
#4B3ABE
accent
#35F24D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7B8A13

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

Preview Lab → · Contrast checker → · Palette generator →

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