#2F6513#2F6513

#2F6513 is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.2% C 0.125 H 137.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2F6513
RGBrgb(47, 101, 19)
HSLhsl(100, 68%, 24%)
HSVhsv(100, 81%, 40%)
CMYKcmyk(53.5%, 0%, 81.2%, 60.4%)
CIE-LABlab(37.77, -33.30, 38.02)
CIE-LCHlch(37.77, 50.54, 131.21°)
OKLaboklab(45.25% -0.0923 0.0849)
OKLCHoklch(45.25% 0.125 137.4)
XYZxyz(5.9433, 9.9583, 2.2249)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6513 #491365
analogous
#586513 #2F6513 #136520
triadic
#2F6513 #132F65 #65132F
tetradic
#2F6513 #135865 #491365 #652013
square
#2F6513 #135865 #491365 #652013
split-complementary
#2F6513 #201365 #651358
monochromatic
#0C1A05 #173109 #2F6513 #47991D #5FCC26

Accessibility & contrast

On white

7.02
#2F6513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F6513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6513
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6513#FFFFFF#000000##FFFFFF
##2F65131.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#2B6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6513;
/* rgb */ color: rgb(47, 101, 19);
/* oklch */ color: oklch(45.2% 0.125 137.4);
Tailwind
colors: {
  custom: {
    50: '#6e9158',
    500: '#2f6513',
    950: '#000000',
  },
}
SCSS
$custom: #2f6513;
$custom-light: #6e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6513",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 99.512,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.12542,
    "h": 137.4
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#2F6513
secondary
#7A379D
accent
#3DEBB0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6513

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

Preview Lab → · Contrast checker → · Palette generator →

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