#2F4B10#2F4B10

#2F4B10 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.091 H 131.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2F4B10
RGBrgb(47, 75, 16)
HSLhsl(88, 65%, 18%)
HSVhsv(88, 79%, 29%)
CMYKcmyk(37.3%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.57, -21.43, 30.15)
CIE-LCHlch(28.57, 36.99, 125.40°)
OKLaboklab(37.7% -0.0605 0.0679)
OKLCHoklch(37.7% 0.091 131.7)
XYZxyz(3.7819, 5.6738, 1.3860)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B10 #2C104B
analogous
#4B4910 #2F4B10 #114B10
triadic
#2F4B10 #102F4B #4B102F
tetradic
#2F4B10 #104B49 #2C104B #4B1011
square
#2F4B10 #104B49 #2C104B #4B1011
split-complementary
#2F4B10 #10114B #49104B
monochromatic
#101905 #101905 #2F4B10 #4F7D1B #6EB026

Accessibility & contrast

On white

9.84
#2F4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B10
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B10#FFFFFF#000000##FFFFFF
##2F4B101.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#30483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b10;
/* rgb */ color: rgb(47, 75, 16);
/* oklch */ color: oklch(37.7% 0.091 131.7);
Tailwind
colors: {
  custom: {
    50: '#6a7d52',
    500: '#2f4b10',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b10;
$custom-light: #6a7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b10",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 88.475,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37703,
    "c": 0.09097,
    "h": 131.7
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#2F4B10
secondary
#593285
accent
#40E890
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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