#7B8624#7B8624

#7B8624 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.120 H 115.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7B8624
RGBrgb(123, 134, 36)
HSLhsl(67, 58%, 33%)
HSVhsv(67, 73%, 53%)
CMYKcmyk(8.2%, 0%, 73.1%, 47.5%)
CIE-LABlab(53.37, -17.24, 48.46)
CIE-LCHlch(53.37, 51.44, 109.58°)
OKLaboklab(59.21% -0.052 0.1078)
OKLCHoklch(59.21% 0.12 115.7)
XYZxyz(17.0124, 21.3888, 4.9010)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8624 #2F2486
analogous
#866024 #7B8624 #4A8624
triadic
#7B8624 #247B86 #86247B
tetradic
#7B8624 #248660 #2F2486 #86244A
square
#7B8624 #248660 #2F2486 #86244A
split-complementary
#7B8624 #244A86 #602486
monochromatic
#22260A #4F5617 #7B8624 #A7B631 #C3D153

Accessibility & contrast

On white

3.98
#7B8624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7B8624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8624
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8624#FFFFFF#000000##000000
##7B86241.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#837E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b8624;
/* rgb */ color: rgb(123, 134, 36);
/* oklch */ color: oklch(59.2% 0.120 115.7);
Tailwind
colors: {
  custom: {
    50: '#a4a966',
    500: '#7b8624',
    950: '#000000',
  },
}
SCSS
$custom: #7b8624;
$custom-light: #a4a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8624",
  "rgb": {
    "r": 123,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 66.735,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.11973,
    "h": 115.7
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#7B8624
secondary
#5C51B5
accent
#47E158
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7B8624

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

Preview Lab → · Contrast checker → · Palette generator →

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