#274008#274008

#274008 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.085 H 131.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#274008
RGBrgb(39, 64, 8)
HSLhsl(87, 78%, 14%)
HSVhsv(87, 88%, 25%)
CMYKcmyk(39.1%, 0%, 87.5%, 74.9%)
CIE-LABlab(24.05, -19.81, 28.86)
CIE-LCHlch(24.05, 35.00, 124.46°)
OKLaboklab(33.86% -0.0562 0.064)
OKLCHoklch(33.86% 0.085 131.3)
XYZxyz(2.7139, 4.1156, 0.8811)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274008 #210840
analogous
#403D08 #274008 #0B4008
triadic
#274008 #082740 #400827
tetradic
#274008 #08403D #210840 #40080B
square
#274008 #08403D #210840 #40080B
split-complementary
#274008 #080B40 #3D0840
monochromatic
#111B03 #111B03 #274008 #48760F #69AD16

Accessibility & contrast

On white

11.52
#274008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#274008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274008
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274008#FFFFFF#000000##FFFFFF
##2740081.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390E
Tritanopia (blue-blind)
#283D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #274008;
/* rgb */ color: rgb(39, 64, 8);
/* oklch */ color: oklch(33.9% 0.085 131.3);
Tailwind
colors: {
  custom: {
    50: '#64754d',
    500: '#274008',
    950: '#000000',
  },
}
SCSS
$custom: #274008;
$custom-light: #64754d;
$custom-dark: #000000;
JSON
{
  "hex": "#274008",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 86.786,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3386,
    "c": 0.0852,
    "h": 131.3
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#274008
secondary
#4D257E
accent
#34F48A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #274008

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

Preview Lab → · Contrast checker → · Palette generator →

#274008 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva