#314E07#314E07

#314E07 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.100 H 130.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#314E07
RGBrgb(49, 78, 7)
HSLhsl(85, 84%, 17%)
HSVhsv(85, 91%, 31%)
CMYKcmyk(37.2%, 0%, 91%, 69.4%)
CIE-LABlab(29.71, -22.67, 34.68)
CIE-LCHlch(29.71, 41.43, 123.17°)
OKLaboklab(38.64% -0.0647 0.0757)
OKLCHoklch(38.64% 0.1 130.5)
XYZxyz(4.0293, 6.1169, 1.1694)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E07 #24074E
analogous
#4E4807 #314E07 #0E4E07
triadic
#314E07 #07314E #4E0731
tetradic
#314E07 #074E48 #24074E #4E070E
square
#314E07 #074E48 #24074E #4E070E
split-complementary
#314E07 #070E4E #48074E
monochromatic
#121C03 #121C03 #314E07 #54860C #78BE11

Accessibility & contrast

On white

9.44
#314E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#314E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E07
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E07#FFFFFF#000000##FFFFFF
##314E071.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4E450F
Tritanopia (blue-blind)
#324A41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314e07;
/* rgb */ color: rgb(49, 78, 7);
/* oklch */ color: oklch(38.6% 0.100 130.5);
Tailwind
colors: {
  custom: {
    50: '#6d7f4f',
    500: '#314e07',
    950: '#000000',
  },
}
SCSS
$custom: #314e07;
$custom-light: #6d7f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#314e07",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 84.507,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.09962,
    "h": 130.5
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#314E07
secondary
#4F258C
accent
#2EFA81
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314E07

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

Preview Lab → · Contrast checker → · Palette generator →

#314E07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva