#2F5C0E#2F5C0E

#2F5C0E is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.116 H 135.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2F5C0E
RGBrgb(47, 92, 14)
HSLhsl(95, 74%, 21%)
HSVhsv(95, 85%, 36%)
CMYKcmyk(48.9%, 0%, 84.8%, 63.9%)
CIE-LABlab(34.58, -29.69, 36.75)
CIE-LCHlch(34.58, 47.25, 128.93°)
OKLaboklab(42.61% -0.083 0.0814)
OKLCHoklch(42.61% 0.116 135.5)
XYZxyz(5.0786, 8.2900, 1.7479)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C0E #3B0E5C
analogous
#565C0E #2F5C0E #0E5C14
triadic
#2F5C0E #0E2F5C #5C0E2F
tetradic
#2F5C0E #0E565C #3B0E5C #5C140E
square
#2F5C0E #0E565C #3B0E5C #5C140E
split-complementary
#2F5C0E #140E5C #5C0E56
monochromatic
#0E1B04 #142706 #2F5C0E #4A9116 #65C61E

Accessibility & contrast

On white

7.90
#2F5C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F5C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C0E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C0E#FFFFFF#000000##FFFFFF
##2F5C0E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#2D584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5c0e;
/* rgb */ color: rgb(47, 92, 14);
/* oklch */ color: oklch(42.6% 0.116 135.5);
Tailwind
colors: {
  custom: {
    50: '#6d8a54',
    500: '#2f5c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c0e;
$custom-light: #6d8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c0e",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 14
  },
  "hsl": {
    "h": 94.615,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.11624,
    "h": 135.5
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#2F5C0E
secondary
#6B3096
accent
#38F0A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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