#2D680F#2D680F

#2D680F is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.0% C 0.132 H 137.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2D680F
RGBrgb(45, 104, 15)
HSLhsl(100, 75%, 23%)
HSVhsv(100, 86%, 41%)
CMYKcmyk(56.7%, 0%, 85.6%, 59.2%)
CIE-LABlab(38.71, -35.44, 40.23)
CIE-LCHlch(38.71, 53.62, 131.38°)
OKLaboklab(45.99% -0.0982 0.0889)
OKLCHoklch(45.99% 0.132 137.8)
XYZxyz(6.1185, 10.4925, 2.1547)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D680F #4A0F68
analogous
#59680F #2D680F #0F681D
triadic
#2D680F #0F2D68 #680F2D
tetradic
#2D680F #0F5968 #4A0F68 #681D0F
square
#2D680F #0F5968 #4A0F68 #681D0F
split-complementary
#2D680F #1D0F68 #680F59
monochromatic
#0C1B04 #163307 #2D680F #449D17 #5BD31E

Accessibility & contrast

On white

6.78
#2D680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D680F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D680F#FFFFFF#000000##FFFFFF
##2D680F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#286458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d680f;
/* rgb */ color: rgb(45, 104, 15);
/* oklch */ color: oklch(46.0% 0.132 137.8);
Tailwind
colors: {
  custom: {
    50: '#6d9456',
    500: '#2d680f',
    950: '#000000',
  },
}
SCSS
$custom: #2d680f;
$custom-light: #6d9456;
$custom-dark: #000000;
JSON
{
  "hex": "#2d680f",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 99.775,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45994,
    "c": 0.13245,
    "h": 137.8
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#2D680F
secondary
#7B32A1
accent
#36F1B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2D680F

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

Preview Lab → · Contrast checker → · Palette generator →

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