#2F4014#2F4014

#2F4014 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.070 H 127.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2F4014
RGBrgb(47, 64, 20)
HSLhsl(83, 52%, 16%)
HSVhsv(83, 69%, 25%)
CMYKcmyk(26.6%, 0%, 68.8%, 74.9%)
CIE-LABlab(24.71, -15.17, 24.12)
CIE-LCHlch(24.71, 28.49, 122.16°)
OKLaboklab(34.57% -0.0429 0.0558)
OKLCHoklch(34.57% 0.07 127.5)
XYZxyz(3.1319, 4.3216, 1.3308)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4014 #251440
analogous
#403B14 #2F4014 #194014
triadic
#2F4014 #142F40 #40142F
tetradic
#2F4014 #14403B #251440 #401419
square
#2F4014 #14403B #251440 #401419
split-complementary
#2F4014 #141940 #3B1440
monochromatic
#111707 #111707 #2F4014 #516F23 #739D31

Accessibility & contrast

On white

11.26
#2F4014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F4014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4014
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4014#FFFFFF#000000##FFFFFF
##2F40141.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#413A17
Tritanopia (blue-blind)
#313D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4014;
/* rgb */ color: rgb(47, 64, 20);
/* oklch */ color: oklch(34.6% 0.070 127.5);
Tailwind
colors: {
  custom: {
    50: '#697553',
    500: '#2f4014',
    950: '#000000',
  },
}
SCSS
$custom: #2f4014;
$custom-light: #697553;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4014",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 20
  },
  "hsl": {
    "h": 83.182,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34574,
    "c": 0.07042,
    "h": 127.5
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#2F4014
secondary
#513878
accent
#4CDC84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4014

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

Preview Lab → · Contrast checker → · Palette generator →

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