#275B0C#275B0C

#275B0C is a dark, vivid yellow-green. Relative luminance 0.079; OKLCH L 41.9% C 0.120 H 137.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#275B0C
RGBrgb(39, 91, 12)
HSLhsl(99, 77%, 20%)
HSVhsv(99, 87%, 36%)
CMYKcmyk(57.1%, 0%, 86.8%, 64.3%)
CIE-LABlab(33.86, -32.11, 36.61)
CIE-LCHlch(33.86, 48.70, 131.25°)
OKLaboklab(41.92% -0.089 0.0809)
OKLCHoklch(41.92% 0.12 137.7)
XYZxyz(4.6440, 7.9397, 1.6356)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275B0C #400C5B
analogous
#4E5B0C #275B0C #0C5B19
triadic
#275B0C #0C275B #5B0C27
tetradic
#275B0C #0C4E5B #400C5B #5B190C
square
#275B0C #0C4E5B #400C5B #5B190C
split-complementary
#275B0C #190C5B #5B0C4E
monochromatic
#0C1B04 #102505 #275B0C #3E9113 #55C71A

Accessibility & contrast

On white

8.11
#275B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#275B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275B0C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275B0C#FFFFFF#000000##FFFFFF
##275B0C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #275b0c;
/* rgb */ color: rgb(39, 91, 12);
/* oklch */ color: oklch(41.9% 0.120 137.7);
Tailwind
colors: {
  custom: {
    50: '#688a53',
    500: '#275b0c',
    950: '#000000',
  },
}
SCSS
$custom: #275b0c;
$custom-light: #688a53;
$custom-dark: #000000;
JSON
{
  "hex": "#275b0c",
  "rgb": {
    "r": 39,
    "g": 91,
    "b": 12
  },
  "hsl": {
    "h": 99.494,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.12029,
    "h": 137.7
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#275B0C
secondary
#722D96
accent
#35F3B2
background
#F6F8F4
surface
#EBF0E8
border
#C6CBC4
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #275B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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