#2D670E#2D670E

#2D670E is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.7% C 0.132 H 137.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2D670E
RGBrgb(45, 103, 14)
HSLhsl(99, 76%, 23%)
HSVhsv(99, 86%, 40%)
CMYKcmyk(56.3%, 0%, 86.4%, 59.6%)
CIE-LABlab(38.36, -35.09, 40.21)
CIE-LCHlch(38.36, 53.37, 131.10°)
OKLaboklab(45.7% -0.0973 0.0887)
OKLCHoklch(45.7% 0.132 137.6)
XYZxyz(6.0115, 10.2896, 2.0847)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D670E #480E67
analogous
#59670E #2D670E #0E671B
triadic
#2D670E #0E2D67 #670E2D
tetradic
#2D670E #0E5967 #480E67 #671B0E
square
#2D670E #0E5967 #480E67 #671B0E
split-complementary
#2D670E #1B0E67 #670E59
monochromatic
#0C1B04 #153107 #2D670E #459D15 #5CD31D

Accessibility & contrast

On white

6.87
#2D670E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2D670E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D670E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D670E#FFFFFF#000000##FFFFFF
##2D670E1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#635919
Tritanopia (blue-blind)
#296357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d670e;
/* rgb */ color: rgb(45, 103, 14);
/* oklch */ color: oklch(45.7% 0.132 137.6);
Tailwind
colors: {
  custom: {
    50: '#6d9356',
    500: '#2d670e',
    950: '#000000',
  },
}
SCSS
$custom: #2d670e;
$custom-light: #6d9356;
$custom-dark: #000000;
JSON
{
  "hex": "#2d670e",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 14
  },
  "hsl": {
    "h": 99.101,
    "s": 76.068,
    "l": 22.941
  },
  "oklch": {
    "l": 0.457,
    "c": 0.13166,
    "h": 137.6
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#2D670E
secondary
#7931A0
accent
#35F3B1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2D670E

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

Preview Lab → · Contrast checker → · Palette generator →

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