#275A0C#275A0C

#275A0C is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.6% C 0.119 H 137.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#275A0C
RGBrgb(39, 90, 12)
HSLhsl(99, 76%, 20%)
HSVhsv(99, 87%, 35%)
CMYKcmyk(56.7%, 0%, 86.7%, 64.7%)
CIE-LABlab(33.50, -31.69, 36.28)
CIE-LCHlch(33.50, 48.17, 131.13°)
OKLaboklab(41.62% -0.0879 0.0802)
OKLCHoklch(41.62% 0.119 137.6)
XYZxyz(4.5591, 7.7699, 1.6072)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275A0C #3F0C5A
analogous
#4E5A0C #275A0C #0C5A18
triadic
#275A0C #0C275A #5A0C27
tetradic
#275A0C #0C4E5A #3F0C5A #5A180C
square
#275A0C #0C4E5A #3F0C5A #5A180C
split-complementary
#275A0C #180C5A #5A0C4E
monochromatic
#0C1B04 #102405 #275A0C #3E9013 #56C61A

Accessibility & contrast

On white

8.22
#275A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#275A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275A0C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275A0C#FFFFFF#000000##FFFFFF
##275A0C1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#23564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #275a0c;
/* rgb */ color: rgb(39, 90, 12);
/* oklch */ color: oklch(41.6% 0.119 137.6);
Tailwind
colors: {
  custom: {
    50: '#688953',
    500: '#275a0c',
    950: '#000000',
  },
}
SCSS
$custom: #275a0c;
$custom-light: #688953;
$custom-dark: #000000;
JSON
{
  "hex": "#275a0c",
  "rgb": {
    "r": 39,
    "g": 90,
    "b": 12
  },
  "hsl": {
    "h": 99.231,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.11899,
    "h": 137.6
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#275A0C
secondary
#712D95
accent
#35F3B1
background
#F6F8F4
surface
#EBF0E7
border
#C6CBC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #275A0C

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

Preview Lab → · Contrast checker → · Palette generator →

#275A0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva