#295F0D#295F0D

#295F0D is a dark, vivid yellow-green. Relative luminance 0.087; OKLCH L 43.2% C 0.124 H 137.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#295F0D
RGBrgb(41, 95, 13)
HSLhsl(100, 76%, 21%)
HSVhsv(100, 86%, 37%)
CMYKcmyk(56.8%, 0%, 86.3%, 62.7%)
CIE-LABlab(35.37, -33.09, 37.72)
CIE-LCHlch(35.37, 50.18, 131.26°)
OKLaboklab(43.19% -0.0917 0.0834)
OKLCHoklch(43.19% 0.124 137.7)
XYZxyz(5.0791, 8.6845, 1.7893)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295F0D #430D5F
analogous
#525F0D #295F0D #0D5F1A
triadic
#295F0D #0D295F #5F0D29
tetradic
#295F0D #0D525F #430D5F #5F1A0D
square
#295F0D #0D525F #430D5F #5F1A0D
split-complementary
#295F0D #1A0D5F #5F0D52
monochromatic
#0C1B04 #122906 #295F0D #409514 #57CB1C

Accessibility & contrast

On white

7.67
#295F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#295F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295F0D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295F0D#FFFFFF#000000##FFFFFF
##295F0D1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5217
Tritanopia (blue-blind)
#255B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295f0d;
/* rgb */ color: rgb(41, 95, 13);
/* oklch */ color: oklch(43.2% 0.124 137.7);
Tailwind
colors: {
  custom: {
    50: '#6a8d54',
    500: '#295f0d',
    950: '#000000',
  },
}
SCSS
$custom: #295f0d;
$custom-light: #6a8d54;
$custom-dark: #000000;
JSON
{
  "hex": "#295f0d",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 99.512,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.12395,
    "h": 137.7
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#295F0D
secondary
#752F99
accent
#35F3B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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