#7F901A#7F901A

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

Color values

HEX#7F901A
RGBrgb(127, 144, 26)
HSLhsl(69, 69%, 33%)
HSVhsv(69, 82%, 56%)
CMYKcmyk(11.8%, 0%, 81.9%, 43.5%)
CIE-LABlab(56.62, -21.10, 54.96)
CIE-LCHlch(56.62, 58.88, 111.00°)
OKLaboklab(61.88% -0.0638 0.1197)
OKLCHoklch(61.88% 0.136 118.1)
XYZxyz(18.9126, 24.5333, 4.7162)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F901A #2B1A90
analogous
#90661A #7F901A #44901A
triadic
#7F901A #1A7F90 #901A7F
tetradic
#7F901A #1A9066 #2B1A90 #901A44
square
#7F901A #1A9066 #2B1A90 #901A44
split-complementary
#7F901A #1A4490 #661A90
monochromatic
#242807 #515C11 #7F901A #ADC423 #C8DE47

Accessibility & contrast

On white

3.56
#7F901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F901A#FFFFFF#000000##000000
##7F901A1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f901a;
/* rgb */ color: rgb(127, 144, 26);
/* oklch */ color: oklch(61.9% 0.136 118.1);
Tailwind
colors: {
  custom: {
    50: '#a8b063',
    500: '#7f901a',
    950: '#000000',
  },
}
SCSS
$custom: #7f901a;
$custom-light: #a8b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7f901a",
  "rgb": {
    "r": 127,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 68.644,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.13558,
    "h": 118.1
  },
  "luminance": 0.24533
}

Semantic roles & 50–950 ramp

primary
#7F901A
secondary
#5847BF
accent
#3CEC55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F901A

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

Preview Lab → · Contrast checker → · Palette generator →

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