#2F450F#2F450F

#2F450F is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.083 H 129.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2F450F
RGBrgb(47, 69, 15)
HSLhsl(84, 64%, 16%)
HSVhsv(84, 78%, 27%)
CMYKcmyk(31.9%, 0%, 78.3%, 72.9%)
CIE-LABlab(26.43, -18.37, 28.43)
CIE-LCHlch(26.43, 33.85, 122.87°)
OKLaboklab(35.96% -0.0522 0.0642)
OKLCHoklch(35.96% 0.083 129.2)
XYZxyz(3.3866, 4.8950, 1.2182)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F450F #250F45
analogous
#45400F #2F450F #14450F
triadic
#2F450F #0F2F45 #450F2F
tetradic
#2F450F #0F4540 #250F45 #450F14
square
#2F450F #0F4540 #250F45 #450F14
split-complementary
#2F450F #0F1445 #400F45
monochromatic
#111905 #111905 #2F450F #51771A #73AA25

Accessibility & contrast

On white

10.61
#2F450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F450F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F450F#FFFFFF#000000##FFFFFF
##2F450F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494007
Deuteranopia (green-blind)
#463E14
Tritanopia (blue-blind)
#31423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f450f;
/* rgb */ color: rgb(47, 69, 15);
/* oklch */ color: oklch(36.0% 0.083 129.2);
Tailwind
colors: {
  custom: {
    50: '#6a7851',
    500: '#2f450f',
    950: '#000000',
  },
}
SCSS
$custom: #2f450f;
$custom-light: #6a7851;
$custom-dark: #000000;
JSON
{
  "hex": "#2f450f",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 84.444,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35958,
    "c": 0.08274,
    "h": 129.2
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#2F450F
secondary
#51307F
accent
#41E784
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2F450F

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

Preview Lab → · Contrast checker → · Palette generator →

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