#295B0C#295B0C

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

Color values

HEX#295B0C
RGBrgb(41, 91, 12)
HSLhsl(98, 77%, 20%)
HSVhsv(98, 87%, 36%)
CMYKcmyk(54.9%, 0%, 86.8%, 64.3%)
CIE-LABlab(33.94, -31.46, 36.72)
CIE-LCHlch(33.94, 48.35, 130.59°)
OKLaboklab(42.01% -0.0874 0.0811)
OKLCHoklch(42.01% 0.119 137.1)
XYZxyz(4.7217, 7.9798, 1.6392)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295B0C #3E0C5B
analogous
#505B0C #295B0C #0C5B17
triadic
#295B0C #0C295B #5B0C29
tetradic
#295B0C #0C505B #3E0C5B #5B170C
square
#295B0C #0C505B #3E0C5B #5B170C
split-complementary
#295B0C #170C5B #5B0C50
monochromatic
#0C1B04 #112505 #295B0C #419113 #5AC71A

Accessibility & contrast

On white

8.09
#295B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295B0C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295B0C#FFFFFF#000000##FFFFFF
##295B0C1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #295b0c;
/* rgb */ color: rgb(41, 91, 12);
/* oklch */ color: oklch(42.0% 0.119 137.1);
Tailwind
colors: {
  custom: {
    50: '#698a53',
    500: '#295b0c',
    950: '#000000',
  },
}
SCSS
$custom: #295b0c;
$custom-light: #698a53;
$custom-dark: #000000;
JSON
{
  "hex": "#295b0c",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 12
  },
  "hsl": {
    "h": 97.975,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42011,
    "c": 0.11924,
    "h": 137.1
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#295B0C
secondary
#6F2D96
accent
#35F3AD
background
#F6F8F4
surface
#EBF0E8
border
#C6CBC4
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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