#2F6510#2F6510

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

Color values

HEX#2F6510
RGBrgb(47, 101, 16)
HSLhsl(98, 73%, 23%)
HSVhsv(98, 84%, 40%)
CMYKcmyk(53.5%, 0%, 84.2%, 60.4%)
CIE-LABlab(37.75, -33.49, 39.05)
CIE-LCHlch(37.75, 51.45, 130.62°)
OKLaboklab(45.23% -0.093 0.0866)
OKLCHoklch(45.23% 0.127 137.1)
XYZxyz(5.9193, 9.9487, 2.0985)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6510 #461065
analogous
#596510 #2F6510 #10651C
triadic
#2F6510 #102F65 #65102F
tetradic
#2F6510 #105965 #461065 #651C10
square
#2F6510 #105965 #461065 #651C10
split-complementary
#2F6510 #1C1065 #651059
monochromatic
#0C1A04 #163008 #2F6510 #489A18 #60CF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6510#FFFFFF#000000##FFFFFF
##2F65101.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)
#695C00
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#2C6155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6510;
/* rgb */ color: rgb(47, 101, 16);
/* oklch */ color: oklch(45.2% 0.127 137.1);
Tailwind
colors: {
  custom: {
    50: '#6e9156',
    500: '#2f6510',
    950: '#000000',
  },
}
SCSS
$custom: #2f6510;
$custom-light: #6e9156;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6510",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 98.118,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.12707,
    "h": 137.1
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#2F6510
secondary
#77339D
accent
#38EFAD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6510

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

Preview Lab → · Contrast checker → · Palette generator →

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