#7F9014#7F9014

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

Color values

HEX#7F9014
RGBrgb(127, 144, 20)
HSLhsl(68, 76%, 32%)
HSVhsv(68, 86%, 56%)
CMYKcmyk(11.8%, 0%, 86.1%, 43.5%)
CIE-LABlab(56.59, -21.31, 56.53)
CIE-LCHlch(56.59, 60.42, 110.65°)
OKLaboklab(61.86% -0.0647 0.122)
OKLCHoklch(61.86% 0.138 118)
XYZxyz(18.8524, 24.5092, 4.3993)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9014 #251490
analogous
#906314 #7F9014 #419014
triadic
#7F9014 #147F90 #90147F
tetradic
#7F9014 #149063 #251490 #901441
square
#7F9014 #149063 #251490 #901441
split-complementary
#7F9014 #144190 #631490
monochromatic
#202505 #505A0D #7F9014 #AEC61B #CDE43B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9014#FFFFFF#000000##000000
##7F90141.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)
#9A8800
Deuteranopia (green-blind)
#998822
Tritanopia (blue-blind)
#87877A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f9014;
/* rgb */ color: rgb(127, 144, 20);
/* oklch */ color: oklch(61.9% 0.138 118.0);
Tailwind
colors: {
  custom: {
    50: '#a8b060',
    500: '#7f9014',
    950: '#000000',
  },
}
SCSS
$custom: #7f9014;
$custom-light: #a8b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9014",
  "rgb": {
    "r": 127,
    "g": 144,
    "b": 20
  },
  "hsl": {
    "h": 68.226,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61855,
    "c": 0.1381,
    "h": 118
  },
  "luminance": 0.24509
}

Semantic roles & 50–950 ramp

primary
#7F9014
secondary
#4F3DC3
accent
#36F24F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7F9014

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

Preview Lab → · Contrast checker → · Palette generator →

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