#2A670F#2A670F

#2A670F is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.133 H 138.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2A670F
RGBrgb(42, 103, 15)
HSLhsl(102, 75%, 23%)
HSVhsv(102, 85%, 40%)
CMYKcmyk(59.2%, 0%, 85.4%, 59.6%)
CIE-LABlab(38.25, -35.95, 39.76)
CIE-LCHlch(38.25, 53.60, 132.11°)
OKLaboklab(45.58% -0.0993 0.088)
OKLCHoklch(45.58% 0.133 138.5)
XYZxyz(5.8911, 10.2267, 2.1154)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A670F #4C0F67
analogous
#56670F #2A670F #0F6720
triadic
#2A670F #0F2A67 #670F2A
tetradic
#2A670F #0F5667 #4C0F67 #67200F
square
#2A670F #0F5667 #4C0F67 #67200F
split-complementary
#2A670F #200F67 #670F56
monochromatic
#0B1B04 #143207 #2A670F #409C17 #56D21F

Accessibility & contrast

On white

6.90
#2A670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A670F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A670F#FFFFFF#000000##FFFFFF
##2A670F1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a670f;
/* rgb */ color: rgb(42, 103, 15);
/* oklch */ color: oklch(45.6% 0.133 138.5);
Tailwind
colors: {
  custom: {
    50: '#6c9356',
    500: '#2a670f',
    950: '#000000',
  },
}
SCSS
$custom: #2a670f;
$custom-light: #6c9356;
$custom-dark: #000000;
JSON
{
  "hex": "#2a670f",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 101.591,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45577,
    "c": 0.13268,
    "h": 138.5
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#2A670F
secondary
#7E32A0
accent
#37F1B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A670F

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

Preview Lab → · Contrast checker → · Palette generator →

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