#2F4F10#2F4F10

#2F4F10 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.097 H 132.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2F4F10
RGBrgb(47, 79, 16)
HSLhsl(90, 66%, 19%)
HSVhsv(90, 80%, 31%)
CMYKcmyk(40.5%, 0%, 79.7%, 69%)
CIE-LABlab(29.99, -23.44, 31.58)
CIE-LCHlch(29.99, 39.33, 126.59°)
OKLaboklab(38.86% -0.0659 0.0709)
OKLCHoklch(38.86% 0.097 132.9)
XYZxyz(4.0617, 6.2335, 1.4793)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F10 #30104F
analogous
#4E4F10 #2F4F10 #104F10
triadic
#2F4F10 #102F4F #4F102F
tetradic
#2F4F10 #104E4F #30104F #4F1010
square
#2F4F10 #104E4F #30104F #4F1010
split-complementary
#2F4F10 #10104F #4F104E
monochromatic
#0F1905 #111C06 #2F4F10 #4D821A #6CB525

Accessibility & contrast

On white

9.35
#2F4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F4F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4F10
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F10#FFFFFF#000000##FFFFFF
##2F4F101.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534805
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#2F4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4f10;
/* rgb */ color: rgb(47, 79, 16);
/* oklch */ color: oklch(38.9% 0.097 132.9);
Tailwind
colors: {
  custom: {
    50: '#6b8053',
    500: '#2f4f10',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f10;
$custom-light: #6b8053;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f10",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 90.476,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.09684,
    "h": 132.9
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#2F4F10
secondary
#5E3289
accent
#3FE995
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4F10

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

Preview Lab → · Contrast checker → · Palette generator →

#2F4F10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva