#7B8E11#7B8E11

#7B8E11 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.0% C 0.139 H 118.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7B8E11
RGBrgb(123, 142, 17)
HSLhsl(69, 79%, 31%)
HSVhsv(69, 88%, 56%)
CMYKcmyk(13.4%, 0%, 88%, 44.3%)
CIE-LABlab(55.68, -22.15, 56.34)
CIE-LCHlch(55.68, 60.54, 111.46°)
OKLaboklab(61.04% -0.067 0.1213)
OKLCHoklch(61.04% 0.139 118.9)
XYZxyz(17.9430, 23.5976, 4.1397)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8E11 #24118E
analogous
#8E6211 #7B8E11 #3C8E11
triadic
#7B8E11 #117B8E #8E117B
tetradic
#7B8E11 #118E62 #24118E #8E113C
square
#7B8E11 #118E62 #24118E #8E113C
split-complementary
#7B8E11 #113C8E #62118E
monochromatic
#1C2104 #4C570A #7B8E11 #AAC518 #CBE733

Accessibility & contrast

On white

3.67
#7B8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7B8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8E11
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8E11#FFFFFF#000000##000000
##7B8E111.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#838679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b8e11;
/* rgb */ color: rgb(123, 142, 17);
/* oklch */ color: oklch(61.0% 0.139 118.9);
Tailwind
colors: {
  custom: {
    50: '#a5af5f',
    500: '#7b8e11',
    950: '#000000',
  },
}
SCSS
$custom: #7b8e11;
$custom-light: #a5af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8e11",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 69.12,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.13853,
    "h": 118.9
  },
  "luminance": 0.23597
}

Semantic roles & 50–950 ramp

primary
#7B8E11
secondary
#4D38C2
accent
#33F550
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7B8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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