#7F8625#7F8625

#7F8625 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.6% C 0.118 H 113.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7F8625
RGBrgb(127, 134, 37)
HSLhsl(64, 57%, 34%)
HSVhsv(64, 72%, 53%)
CMYKcmyk(5.2%, 0%, 72.4%, 47.5%)
CIE-LABlab(53.70, -15.39, 48.51)
CIE-LCHlch(53.70, 50.89, 107.60°)
OKLaboklab(59.56% -0.047 0.108)
OKLCHoklch(59.56% 0.118 113.5)
XYZxyz(17.6119, 21.6962, 5.0099)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8625 #2C2586
analogous
#865C25 #7F8625 #4E8625
triadic
#7F8625 #257F86 #86257F
tetradic
#7F8625 #25865C #2C2586 #86254E
square
#7F8625 #25865C #2C2586 #86254E
split-complementary
#7F8625 #254E86 #5C2586
monochromatic
#24260B #525618 #7F8625 #ACB632 #C7D055

Accessibility & contrast

On white

3.93
#7F8625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7F8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8625
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8625#FFFFFF#000000##000000
##7F86251.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F14
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#887E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f8625;
/* rgb */ color: rgb(127, 134, 37);
/* oklch */ color: oklch(59.6% 0.118 113.5);
Tailwind
colors: {
  custom: {
    50: '#a7a966',
    500: '#7f8625',
    950: '#000000',
  },
}
SCSS
$custom: #7f8625;
$custom-light: #a7a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8625",
  "rgb": {
    "r": 127,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 64.33,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.11778,
    "h": 113.5
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#7F8625
secondary
#5952B4
accent
#48E053
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7F8625

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

Preview Lab → · Contrast checker → · Palette generator →

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