#274704#274704

#274704 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.098 H 133.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#274704
RGBrgb(39, 71, 4)
HSLhsl(89, 89%, 15%)
HSVhsv(89, 94%, 28%)
CMYKcmyk(45.1%, 0%, 94.4%, 72.2%)
CIE-LABlab(26.58, -23.59, 32.88)
CIE-LCHlch(26.58, 40.46, 125.66°)
OKLaboklab(35.92% -0.0667 0.0715)
OKLCHoklch(35.92% 0.098 133)
XYZxyz(3.1118, 4.9464, 0.9056)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274704 #240447
analogous
#474604 #274704 #054704
triadic
#274704 #042747 #470427
tetradic
#274704 #044746 #240447 #470405
square
#274704 #044746 #240447 #470405
split-complementary
#274704 #040547 #460447
monochromatic
#101D02 #101D02 #274704 #478107 #67BB0B

Accessibility & contrast

On white

10.56
#274704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#274704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274704
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274704#FFFFFF#000000##FFFFFF
##2747041.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0C
Tritanopia (blue-blind)
#27443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #274704;
/* rgb */ color: rgb(39, 71, 4);
/* oklch */ color: oklch(35.9% 0.098 133.0);
Tailwind
colors: {
  custom: {
    50: '#657a4c',
    500: '#274704',
    950: '#000000',
  },
}
SCSS
$custom: #274704;
$custom-light: #657a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#274704",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 4
  },
  "hsl": {
    "h": 88.657,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35922,
    "c": 0.09782,
    "h": 133
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#274704
secondary
#511F88
accent
#29FF8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #274704

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

Preview Lab → · Contrast checker → · Palette generator →

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