#295B0F#295B0F

#295B0F is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.0% C 0.118 H 137.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#295B0F
RGBrgb(41, 91, 15)
HSLhsl(99, 72%, 21%)
HSVhsv(99, 84%, 36%)
CMYKcmyk(54.9%, 0%, 83.5%, 64.3%)
CIE-LABlab(33.96, -31.27, 35.72)
CIE-LCHlch(33.96, 47.47, 131.20°)
OKLaboklab(42.03% -0.0867 0.0795)
OKLCHoklch(42.03% 0.118 137.5)
XYZxyz(4.7416, 7.9877, 1.7438)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295B0F #410F5B
analogous
#4F5B0F #295B0F #0F5B1B
triadic
#295B0F #0F295B #5B0F29
tetradic
#295B0F #0F4F5B #410F5B #5B1B0F
square
#295B0F #0F4F5B #410F5B #5B1B0F
split-complementary
#295B0F #1B0F5B #5B0F4F
monochromatic
#0C1A04 #112606 #295B0F #419018 #58C420

Accessibility & contrast

On white

8.08
#295B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#295B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295B0F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295B0F#FFFFFF#000000##FFFFFF
##295B0F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#26574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #295b0f;
/* rgb */ color: rgb(41, 91, 15);
/* oklch */ color: oklch(42.0% 0.118 137.5);
Tailwind
colors: {
  custom: {
    50: '#698a54',
    500: '#295b0f',
    950: '#000000',
  },
}
SCSS
$custom: #295b0f;
$custom-light: #698a54;
$custom-dark: #000000;
JSON
{
  "hex": "#295b0f",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 99.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.11764,
    "h": 137.5
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#295B0F
secondary
#733195
accent
#39EEB0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295B0F

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

Preview Lab → · Contrast checker → · Palette generator →

#295B0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva