#7F9013#7F9013

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

Color values

HEX#7F9013
RGBrgb(127, 144, 19)
HSLhsl(68, 77%, 32%)
HSVhsv(68, 87%, 56%)
CMYKcmyk(11.8%, 0%, 86.8%, 43.5%)
CIE-LABlab(56.59, -21.34, 56.77)
CIE-LCHlch(56.59, 60.65, 110.60°)
OKLaboklab(61.85% -0.0649 0.1223)
OKLCHoklch(61.85% 0.138 117.9)
XYZxyz(18.8437, 24.5058, 4.3534)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9013 #241390
analogous
#906313 #7F9013 #419013
triadic
#7F9013 #137F90 #90137F
tetradic
#7F9013 #139063 #241390 #901341
square
#7F9013 #139063 #241390 #901341
split-complementary
#7F9013 #134190 #631390
monochromatic
#202405 #4F5A0C #7F9013 #AFC61A #CDE539

Accessibility & contrast

On white

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

On black

5.90
#7F9013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9013
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9013#FFFFFF#000000##000000
##7F90131.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998822
Tritanopia (blue-blind)
#87877A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f9013;
/* rgb */ color: rgb(127, 144, 19);
/* oklch */ color: oklch(61.9% 0.138 117.9);
Tailwind
colors: {
  custom: {
    50: '#a8b060',
    500: '#7f9013',
    950: '#000000',
  },
}
SCSS
$custom: #7f9013;
$custom-light: #a8b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9013",
  "rgb": {
    "r": 127,
    "g": 144,
    "b": 19
  },
  "hsl": {
    "h": 68.16,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.13848,
    "h": 117.9
  },
  "luminance": 0.24506
}

Semantic roles & 50–950 ramp

primary
#7F9013
secondary
#4E3BC4
accent
#35F34E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7F9013

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

Preview Lab → · Contrast checker → · Palette generator →

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