#7F901D#7F901D

#7F901D is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.134 H 118.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F901D
RGBrgb(127, 144, 29)
HSLhsl(69, 66%, 34%)
HSVhsv(69, 80%, 56%)
CMYKcmyk(11.8%, 0%, 79.9%, 43.5%)
CIE-LABlab(56.63, -20.98, 54.08)
CIE-LCHlch(56.63, 58.01, 111.21°)
OKLaboklab(61.9% -0.0632 0.1183)
OKLCHoklch(61.9% 0.134 118.1)
XYZxyz(18.9479, 24.5474, 4.9021)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F901D #2E1D90
analogous
#90681D #7F901D #46901D
triadic
#7F901D #1D7F90 #901D7F
tetradic
#7F901D #1D9068 #2E1D90 #901D46
square
#7F901D #1D9068 #2E1D90 #901D46
split-complementary
#7F901D #1D4690 #681D90
monochromatic
#252A08 #525D13 #7F901D #ACC327 #C6DB4C

Accessibility & contrast

On white

3.55
#7F901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7F901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F901D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F901D#FFFFFF#000000##000000
##7F901D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#87887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f901d;
/* rgb */ color: rgb(127, 144, 29);
/* oklch */ color: oklch(61.9% 0.134 118.1);
Tailwind
colors: {
  custom: {
    50: '#a7b064',
    500: '#7f901d',
    950: '#000000',
  },
}
SCSS
$custom: #7f901d;
$custom-light: #a7b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7f901d",
  "rgb": {
    "r": 127,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 68.87,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.13413,
    "h": 118.1
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#7F901D
secondary
#5C4BBD
accent
#3EE958
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F901D

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

Preview Lab → · Contrast checker → · Palette generator →

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