#7A8023#7A8023

#7A8023 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.114 H 113.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A8023
RGBrgb(122, 128, 35)
HSLhsl(64, 57%, 32%)
HSVhsv(64, 73%, 50%)
CMYKcmyk(4.7%, 0%, 72.7%, 49.8%)
CIE-LABlab(51.49, -14.56, 46.98)
CIE-LCHlch(51.49, 49.19, 107.22°)
OKLaboklab(57.68% -0.0446 0.1046)
OKLCHoklch(57.68% 0.114 113.1)
XYZxyz(16.0491, 19.6976, 4.5464)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8023 #292380
analogous
#805823 #7A8023 #4C8023
triadic
#7A8023 #237A80 #80237A
tetradic
#7A8023 #238058 #292380 #80234C
square
#7A8023 #238058 #292380 #80234C
split-complementary
#7A8023 #234C80 #582380
monochromatic
#1E2009 #4C5016 #7A8023 #A8B030 #C7CF4F

Accessibility & contrast

On white

4.25
#7A8023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7A8023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8023
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8023#FFFFFF#000000##000000
##7A80231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#82786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8023;
/* rgb */ color: rgb(122, 128, 35);
/* oklch */ color: oklch(57.7% 0.114 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a465',
    500: '#7a8023',
    950: '#000000',
  },
}
SCSS
$custom: #7a8023;
$custom-light: #a3a465;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8023",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 63.871,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.11368,
    "h": 113.1
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#7A8023
secondary
#534DB2
accent
#47E051
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8023

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

Preview Lab → · Contrast checker → · Palette generator →

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