#273D08#273D08

#273D08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.081 H 130.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#273D08
RGBrgb(39, 61, 8)
HSLhsl(85, 77%, 14%)
HSVhsv(85, 87%, 24%)
CMYKcmyk(36.1%, 0%, 86.9%, 76.1%)
CIE-LABlab(22.95, -18.23, 27.75)
CIE-LCHlch(22.95, 33.21, 123.29°)
OKLaboklab(32.97% -0.0519 0.0619)
OKLCHoklch(32.97% 0.081 130)
XYZxyz(2.5493, 3.7863, 0.8262)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D08 #1E083D
analogous
#3D3808 #273D08 #0C3D08
triadic
#273D08 #08273D #3D0827
tetradic
#273D08 #083D38 #1E083D #3D080C
square
#273D08 #083D38 #1E083D #3D080C
split-complementary
#273D08 #080C3D #38083D
monochromatic
#111B04 #111B04 #273D08 #4A730F #6CA916

Accessibility & contrast

On white

11.95
#273D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#273D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D08
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D08#FFFFFF#000000##FFFFFF
##273D081.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403801
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#283A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #273d08;
/* rgb */ color: rgb(39, 61, 8);
/* oklch */ color: oklch(33.0% 0.081 130.0);
Tailwind
colors: {
  custom: {
    50: '#64724c',
    500: '#273d08',
    950: '#000000',
  },
}
SCSS
$custom: #273d08;
$custom-light: #64724c;
$custom-dark: #000000;
JSON
{
  "hex": "#273d08",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 84.906,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.08076,
    "h": 130
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#273D08
secondary
#49257C
accent
#34F384
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #273D08

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

Preview Lab → · Contrast checker → · Palette generator →

#273D08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva