#295F0C#295F0C

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

Color values

HEX#295F0C
RGBrgb(41, 95, 12)
HSLhsl(99, 78%, 21%)
HSVhsv(99, 87%, 37%)
CMYKcmyk(56.8%, 0%, 87.4%, 62.7%)
CIE-LABlab(35.36, -33.15, 38.03)
CIE-LCHlch(35.36, 50.45, 131.08°)
OKLaboklab(43.18% -0.0919 0.0839)
OKLCHoklch(43.18% 0.124 137.6)
XYZxyz(5.0728, 8.6820, 1.7562)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295F0C #420C5F
analogous
#525F0C #295F0C #0C5F18
triadic
#295F0C #0C295F #5F0C29
tetradic
#295F0C #0C525F #420C5F #5F180C
square
#295F0C #0C525F #420C5F #5F180C
split-complementary
#295F0C #180C5F #5F0C52
monochromatic
#0C1B03 #122905 #295F0C #409513 #58CC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##295F0C#FFFFFF#000000##FFFFFF
##295F0C1.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)
#5B5216
Tritanopia (blue-blind)
#255B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295f0c;
/* rgb */ color: rgb(41, 95, 12);
/* oklch */ color: oklch(43.2% 0.124 137.6);
Tailwind
colors: {
  custom: {
    50: '#6a8d54',
    500: '#295f0c',
    950: '#000000',
  },
}
SCSS
$custom: #295f0c;
$custom-light: #6a8d54;
$custom-dark: #000000;
JSON
{
  "hex": "#295f0c",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 99.036,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.12443,
    "h": 137.6
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#295F0C
secondary
#742D99
accent
#34F4B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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