#7B8640#7B8640

#7B8640 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.095 H 116.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7B8640
RGBrgb(123, 134, 64)
HSLhsl(69, 35%, 39%)
HSVhsv(69, 52%, 53%)
CMYKcmyk(8.2%, 0%, 52.2%, 47.5%)
CIE-LABlab(53.63, -15.05, 35.96)
CIE-LCHlch(53.63, 38.98, 112.72°)
OKLaboklab(59.51% -0.0429 0.0851)
OKLCHoklch(59.51% 0.095 116.8)
XYZxyz(17.6191, 21.6315, 8.0966)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8640 #4B4086
analogous
#866E40 #7B8640 #588640
triadic
#7B8640 #407B86 #86407B
tetradic
#7B8640 #40866E #4B4086 #864058
square
#7B8640 #40866E #4B4086 #864058
split-complementary
#7B8640 #405886 #6E4086
monochromatic
#2F3318 #555D2C #7B8640 #A0AE55 #B7C27F

Accessibility & contrast

On white

3.94
#7B8640 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7B8640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8640
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8640#FFFFFF#000000##000000
##7B86401.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803A
Deuteranopia (green-blind)
#8D8144
Tritanopia (blue-blind)
#817F76
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b8640;
/* rgb */ color: rgb(123, 134, 64);
/* oklch */ color: oklch(59.5% 0.095 116.8);
Tailwind
colors: {
  custom: {
    50: '#a3a977',
    500: '#7b8640',
    950: '#000000',
  },
}
SCSS
$custom: #7b8640;
$custom-light: #a3a977;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8640",
  "rgb": {
    "r": 123,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 69.429,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.09529,
    "h": 116.8
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

primary
#7B8640
secondary
#7E76AC
accent
#5CCB6E
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7B8640

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

Preview Lab → · Contrast checker → · Palette generator →

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