#7F8323#7F8323

#7F8323 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.116 H 111.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7F8323
RGBrgb(127, 131, 35)
HSLhsl(63, 58%, 33%)
HSVhsv(63, 73%, 51%)
CMYKcmyk(3.1%, 0%, 73.3%, 48.6%)
CIE-LABlab(52.80, -13.90, 48.40)
CIE-LCHlch(52.80, 50.36, 106.02°)
OKLaboklab(58.84% -0.0431 0.1074)
OKLCHoklch(58.84% 0.116 111.8)
XYZxyz(17.1726, 20.8664, 4.7128)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8323 #272383
analogous
#835723 #7F8323 #4F8323
triadic
#7F8323 #237F83 #83237F
tetradic
#7F8323 #238357 #272383 #83234F
square
#7F8323 #238357 #272383 #83234F
split-complementary
#7F8323 #234F83 #572383
monochromatic
#212209 #505316 #7F8323 #AEB330 #CBD050

Accessibility & contrast

On white

4.06
#7F8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7F8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8323
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8323#FFFFFF#000000##000000
##7F83231.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#887B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f8323;
/* rgb */ color: rgb(127, 131, 35);
/* oklch */ color: oklch(58.8% 0.116 111.8);
Tailwind
colors: {
  custom: {
    50: '#a7a665',
    500: '#7f8323',
    950: '#000000',
  },
}
SCSS
$custom: #7f8323;
$custom-light: #a7a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8323",
  "rgb": {
    "r": 127,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 62.5,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.11571,
    "h": 111.8
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#7F8323
secondary
#524EB4
accent
#47E14D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7F8323

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

Preview Lab → · Contrast checker → · Palette generator →

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