#7F8329#7F8329

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

Color values

HEX#7F8329
RGBrgb(127, 131, 41)
HSLhsl(63, 52%, 34%)
HSVhsv(63, 69%, 51%)
CMYKcmyk(3.1%, 0%, 68.7%, 48.6%)
CIE-LABlab(52.85, -13.55, 46.03)
CIE-LCHlch(52.85, 47.98, 106.41°)
OKLaboklab(58.88% -0.0415 0.1035)
OKLCHoklch(58.88% 0.111 111.8)
XYZxyz(17.2695, 20.9051, 5.2228)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8329 #2D2983
analogous
#835A29 #7F8329 #528329
triadic
#7F8329 #297F83 #83297F
tetradic
#7F8329 #29835A #2D2983 #832952
square
#7F8329 #29835A #2D2983 #832952
split-complementary
#7F8329 #295283 #5A2983
monochromatic
#25260C #52541A #7F8329 #ACB238 #C7CC5B

Accessibility & contrast

On white

4.05
#7F8329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7F8329 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8329
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8329#FFFFFF#000000##000000
##7F83291.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#887B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f8329;
/* rgb */ color: rgb(127, 131, 41);
/* oklch */ color: oklch(58.9% 0.111 111.8);
Tailwind
colors: {
  custom: {
    50: '#a7a668',
    500: '#7f8329',
    950: '#000000',
  },
}
SCSS
$custom: #7f8329;
$custom-light: #a7a668;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8329",
  "rgb": {
    "r": 127,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 62.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58883,
    "c": 0.11147,
    "h": 111.8
  },
  "luminance": 0.20905
}

Semantic roles & 50–950 ramp

primary
#7F8329
secondary
#5B57B1
accent
#4CDC52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7F8329

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

Preview Lab → · Contrast checker → · Palette generator →

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