#2F6610#2F6610

#2F6610 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.128 H 137.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2F6610
RGBrgb(47, 102, 16)
HSLhsl(98, 73%, 23%)
HSVhsv(98, 84%, 40%)
CMYKcmyk(53.9%, 0%, 84.3%, 60%)
CIE-LABlab(38.10, -33.91, 39.38)
CIE-LCHlch(38.10, 51.97, 130.74°)
OKLaboklab(45.51% -0.0942 0.0872)
OKLCHoklch(45.51% 0.128 137.2)
XYZxyz(6.0170, 10.1440, 2.1310)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6610 #471066
analogous
#5A6610 #2F6610 #10661C
triadic
#2F6610 #102F66 #66102F
tetradic
#2F6610 #105A66 #471066 #661C10
square
#2F6610 #105A66 #471066 #661C10
split-complementary
#2F6610 #1C1066 #66105A
monochromatic
#0C1A04 #173108 #2F6610 #479B18 #60D021

Accessibility & contrast

On white

6.93
#2F6610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F6610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6610
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6610#FFFFFF#000000##FFFFFF
##2F66101.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#2B6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6610;
/* rgb */ color: rgb(47, 102, 16);
/* oklch */ color: oklch(45.5% 0.128 137.2);
Tailwind
colors: {
  custom: {
    50: '#6e9257',
    500: '#2f6610',
    950: '#000000',
  },
}
SCSS
$custom: #2f6610;
$custom-light: #6e9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6610",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 98.372,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.12837,
    "h": 137.2
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#2F6610
secondary
#78339E
accent
#38F0AD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6610

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

Preview Lab → · Contrast checker → · Palette generator →

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