#7B8024#7B8024

#7B8024 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.113 H 112.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7B8024
RGBrgb(123, 128, 36)
HSLhsl(63, 56%, 32%)
HSVhsv(63, 72%, 50%)
CMYKcmyk(3.9%, 0%, 71.9%, 49.8%)
CIE-LABlab(51.58, -14.05, 46.70)
CIE-LCHlch(51.58, 48.77, 106.74°)
OKLaboklab(57.78% -0.0431 0.1041)
OKLCHoklch(57.78% 0.113 112.5)
XYZxyz(16.2065, 19.7770, 4.6324)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8024 #292480
analogous
#805724 #7B8024 #4D8024
triadic
#7B8024 #247B80 #80247B
tetradic
#7B8024 #248057 #292480 #80244D
square
#7B8024 #248057 #292480 #80244D
split-complementary
#7B8024 #244D80 #572480
monochromatic
#1F2009 #4D5017 #7B8024 #A9B031 #C7CE50

Accessibility & contrast

On white

4.24
#7B8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7B8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8024
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8024#FFFFFF#000000##000000
##7B80241.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#84786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b8024;
/* rgb */ color: rgb(123, 128, 36);
/* oklch */ color: oklch(57.8% 0.113 112.5);
Tailwind
colors: {
  custom: {
    50: '#a4a465',
    500: '#7b8024',
    950: '#000000',
  },
}
SCSS
$custom: #7b8024;
$custom-light: #a4a465;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8024",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 63.261,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.11271,
    "h": 112.5
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#7B8024
secondary
#534EB2
accent
#48DF51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7B8024

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

Preview Lab → · Contrast checker → · Palette generator →

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