#2F4C10#2F4C10

#2F4C10 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.092 H 132.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2F4C10
RGBrgb(47, 76, 16)
HSLhsl(89, 65%, 18%)
HSVhsv(89, 79%, 30%)
CMYKcmyk(38.2%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.93, -21.94, 30.51)
CIE-LCHlch(28.93, 37.58, 125.72°)
OKLaboklab(37.99% -0.0619 0.0687)
OKLCHoklch(37.99% 0.092 132)
XYZxyz(3.8502, 5.8105, 1.4088)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C10 #2D104C
analogous
#4C4B10 #2F4C10 #114C10
triadic
#2F4C10 #102F4C #4C102F
tetradic
#2F4C10 #104C4B #2D104C #4C1011
square
#2F4C10 #104C4B #2D104C #4C1011
split-complementary
#2F4C10 #10114C #4B104C
monochromatic
#101905 #101905 #2F4C10 #4E7F1B #6EB125

Accessibility & contrast

On white

9.71
#2F4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C10
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C10#FFFFFF#000000##FFFFFF
##2F4C101.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#4C4316
Tritanopia (blue-blind)
#304940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4c10;
/* rgb */ color: rgb(47, 76, 16);
/* oklch */ color: oklch(38.0% 0.092 132.0);
Tailwind
colors: {
  custom: {
    50: '#6a7e53',
    500: '#2f4c10',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c10;
$custom-light: #6a7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c10",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 89,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37993,
    "c": 0.09244,
    "h": 132
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#2F4C10
secondary
#5B3286
accent
#40E891
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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