#7F883D#7F883D

#7F883D is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.100 H 115.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7F883D
RGBrgb(127, 136, 61)
HSLhsl(67, 38%, 39%)
HSVhsv(67, 55%, 53%)
CMYKcmyk(6.6%, 0%, 55.1%, 46.7%)
CIE-LABlab(54.51, -14.68, 38.58)
CIE-LCHlch(54.51, 41.28, 110.83°)
OKLaboklab(60.28% -0.0424 0.0904)
OKLCHoklch(60.28% 0.1 115.1)
XYZxyz(18.3992, 22.4575, 7.7794)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F883D #463D88
analogous
#886B3D #7F883D #59883D
triadic
#7F883D #3D7F88 #883D7F
tetradic
#7F883D #3D886B #463D88 #883D59
square
#7F883D #3D886B #463D88 #883D59
split-complementary
#7F883D #3D5988 #6B3D88
monochromatic
#303317 #585E2A #7F883D #A6B151 #BBC47B

Accessibility & contrast

On white

3.82
#7F883D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7F883D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F883D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F883D#FFFFFF#000000##000000
##7F883D1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918236
Deuteranopia (green-blind)
#908341
Tritanopia (blue-blind)
#868177
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f883d;
/* rgb */ color: rgb(127, 136, 61);
/* oklch */ color: oklch(60.3% 0.100 115.1);
Tailwind
colors: {
  custom: {
    50: '#a6aa75',
    500: '#7f883d',
    950: '#000000',
  },
}
SCSS
$custom: #7f883d;
$custom-light: #a6aa75;
$custom-dark: #000000;
JSON
{
  "hex": "#7f883d",
  "rgb": {
    "r": 127,
    "g": 136,
    "b": 61
  },
  "hsl": {
    "h": 67.2,
    "s": 38.071,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.09986,
    "h": 115.1
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#7F883D
secondary
#7A73AE
accent
#5ACE68
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7F883D

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

Preview Lab → · Contrast checker → · Palette generator →

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