#7E9013#7E9013

#7E9013 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.139 H 118.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7E9013
RGBrgb(126, 144, 19)
HSLhsl(69, 77%, 32%)
HSVhsv(69, 87%, 56%)
CMYKcmyk(12.5%, 0%, 86.8%, 43.5%)
CIE-LABlab(56.52, -21.78, 56.67)
CIE-LCHlch(56.52, 60.72, 111.02°)
OKLaboklab(61.77% -0.066 0.1222)
OKLCHoklch(61.77% 0.139 118.4)
XYZxyz(18.6955, 24.4293, 4.3464)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9013 #251390
analogous
#906413 #7E9013 #409013
triadic
#7E9013 #137E90 #90137E
tetradic
#7E9013 #139064 #251390 #901340
square
#7E9013 #139064 #251390 #901340
split-complementary
#7E9013 #134090 #641390
monochromatic
#1F2405 #4F5A0C #7E9013 #ADC61A #CCE539

Accessibility & contrast

On white

3.57
#7E9013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7E9013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9013
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9013#FFFFFF#000000##000000
##7E90131.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e9013;
/* rgb */ color: rgb(126, 144, 19);
/* oklch */ color: oklch(61.8% 0.139 118.4);
Tailwind
colors: {
  custom: {
    50: '#a7b060',
    500: '#7e9013',
    950: '#000000',
  },
}
SCSS
$custom: #7e9013;
$custom-light: #a7b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9013",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 19
  },
  "hsl": {
    "h": 68.64,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.13888,
    "h": 118.4
  },
  "luminance": 0.24429
}

Semantic roles & 50–950 ramp

primary
#7E9013
secondary
#4F3BC4
accent
#35F350
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7E9013

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

Preview Lab → · Contrast checker → · Palette generator →

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