#7B8A19#7B8A19

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

Color values

HEX#7B8A19
RGBrgb(123, 138, 25)
HSLhsl(68, 69%, 32%)
HSVhsv(68, 82%, 54%)
CMYKcmyk(10.9%, 0%, 81.9%, 45.9%)
CIE-LABlab(54.51, -19.84, 53.27)
CIE-LCHlch(54.51, 56.85, 110.43°)
OKLaboklab(60.11% -0.0601 0.116)
OKLCHoklch(60.11% 0.131 117.4)
XYZxyz(17.4328, 22.4583, 4.3360)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A19 #28198A
analogous
#8A6119 #7B8A19 #428A19
triadic
#7B8A19 #197B8A #8A197B
tetradic
#7B8A19 #198A61 #28198A #8A1942
square
#7B8A19 #198A61 #28198A #8A1942
split-complementary
#7B8A19 #19428A #61198A
monochromatic
#1F2206 #4D5610 #7B8A19 #A9BE22 #C8DD41

Accessibility & contrast

On white

3.82
#7B8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8A19#FFFFFF#000000##000000
##7B8A191.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b8a19;
/* rgb */ color: rgb(123, 138, 25);
/* oklch */ color: oklch(60.1% 0.131 117.4);
Tailwind
colors: {
  custom: {
    50: '#a5ac61',
    500: '#7b8a19',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a19;
$custom-light: #a5ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a19",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 67.965,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.13068,
    "h": 117.4
  },
  "luminance": 0.22458
}

Semantic roles & 50–950 ramp

primary
#7B8A19
secondary
#5242BD
accent
#3CEC53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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