#5E700F#5E700F

#5E700F is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.116 H 120.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5E700F
RGBrgb(94, 112, 15)
HSLhsl(71, 76%, 25%)
HSVhsv(71, 87%, 44%)
CMYKcmyk(16.1%, 0%, 86.6%, 56.1%)
CIE-LABlab(44.24, -19.75, 46.25)
CIE-LCHlch(44.24, 50.29, 113.13°)
OKLaboklab(51.26% -0.059 0.1003)
OKLCHoklch(51.26% 0.116 120.5)
XYZxyz(10.4967, 14.0025, 2.6016)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E700F #210F70
analogous
#70520F #5E700F #2E700F
triadic
#5E700F #0F5E70 #700F5E
tetradic
#5E700F #0F7052 #210F70 #700F2E
square
#5E700F #0F7052 #210F70 #700F2E
split-complementary
#5E700F #0F2E70 #520F70
monochromatic
#171B04 #313A08 #5E700F #8BA616 #B9DC1D

Accessibility & contrast

On white

5.53
#5E700F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E700F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E700F#FFFFFF#000000##FFFFFF
##5E700F1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75691A
Tritanopia (blue-blind)
#646A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e700f;
/* rgb */ color: rgb(94, 112, 15);
/* oklch */ color: oklch(51.3% 0.116 120.5);
Tailwind
colors: {
  custom: {
    50: '#8f9959',
    500: '#5e700f',
    950: '#000000',
  },
}
SCSS
$custom: #5e700f;
$custom-light: #8f9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5e700f",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 71.134,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.1164,
    "h": 120.5
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#5E700F
secondary
#4933A8
accent
#35F358
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E700F

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

Preview Lab → · Contrast checker → · Palette generator →

#5E700F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva