#7F901E#7F901E

#7F901E is a mid, vivid yellow. Relative luminance 0.246; 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#7F901E
RGBrgb(127, 144, 30)
HSLhsl(69, 66%, 34%)
HSVhsv(69, 79%, 56%)
CMYKcmyk(11.8%, 0%, 79.2%, 43.5%)
CIE-LABlab(56.64, -20.94, 53.77)
CIE-LCHlch(56.64, 57.70, 111.28°)
OKLaboklab(61.9% -0.063 0.1178)
OKLCHoklch(61.9% 0.134 118.1)
XYZxyz(18.9604, 24.5525, 4.9683)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F901E #2F1E90
analogous
#90681E #7F901E #46901E
triadic
#7F901E #1E7F90 #901E7F
tetradic
#7F901E #1E9068 #2F1E90 #901E46
square
#7F901E #1E9068 #2F1E90 #901E46
split-complementary
#7F901E #1E4690 #681E90
monochromatic
#262B09 #525D13 #7F901E #ACC329 #C5DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F901E#FFFFFF#000000##000000
##7F901E1.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)
#988829
Tritanopia (blue-blind)
#87887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f901e;
/* rgb */ color: rgb(127, 144, 30);
/* oklch */ color: oklch(61.9% 0.134 118.1);
Tailwind
colors: {
  custom: {
    50: '#a7b064',
    500: '#7f901e',
    950: '#000000',
  },
}
SCSS
$custom: #7f901e;
$custom-light: #a7b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7f901e",
  "rgb": {
    "r": 127,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 68.947,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61903,
    "c": 0.13361,
    "h": 118.1
  },
  "luminance": 0.24552
}

Semantic roles & 50–950 ramp

primary
#7F901E
secondary
#5E4DBD
accent
#3FE859
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F901E

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

Preview Lab → · Contrast checker → · Palette generator →

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