#7B8E19#7B8E19

#7B8E19 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.1% C 0.135 H 119.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7B8E19
RGBrgb(123, 142, 25)
HSLhsl(70, 70%, 33%)
HSVhsv(70, 82%, 56%)
CMYKcmyk(13.4%, 0%, 82.4%, 44.3%)
CIE-LABlab(55.71, -21.88, 54.34)
CIE-LCHlch(55.71, 58.58, 111.94°)
OKLaboklab(61.08% -0.0658 0.1183)
OKLCHoklch(61.08% 0.135 119.1)
XYZxyz(18.0173, 23.6273, 4.5309)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8E19 #2C198E
analogous
#8E6719 #7B8E19 #408E19
triadic
#7B8E19 #197B8E #8E197B
tetradic
#7B8E19 #198E67 #2C198E #8E1940
square
#7B8E19 #198E67 #2C198E #8E1940
split-complementary
#7B8E19 #19408E #67198E
monochromatic
#212607 #4E5A10 #7B8E19 #A8C222 #C5DE43

Accessibility & contrast

On white

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

On black

5.73
#7B8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8E19
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8E19#FFFFFF#000000##000000
##7B8E191.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b8e19;
/* rgb */ color: rgb(123, 142, 25);
/* oklch */ color: oklch(61.1% 0.135 119.1);
Tailwind
colors: {
  custom: {
    50: '#a5af62',
    500: '#7b8e19',
    950: '#000000',
  },
}
SCSS
$custom: #7b8e19;
$custom-light: #a5af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8e19",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 69.744,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.13533,
    "h": 119.1
  },
  "luminance": 0.23627
}

Semantic roles & 50–950 ramp

primary
#7B8E19
secondary
#5844BF
accent
#3BED58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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