#274104#274104

#274104 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.089 H 131.0°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#274104
RGBrgb(39, 65, 4)
HSLhsl(86, 88%, 14%)
HSVhsv(86, 94%, 25%)
CMYKcmyk(40%, 0%, 93.8%, 74.5%)
CIE-LABlab(24.39, -20.61, 30.82)
CIE-LCHlch(24.39, 37.08, 123.77°)
OKLaboklab(34.13% -0.0587 0.0675)
OKLCHoklch(34.13% 0.089 131)
XYZxyz(2.7489, 4.2206, 0.7847)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274104 #1E0441
analogous
#413C04 #274104 #084104
triadic
#274104 #042741 #410427
tetradic
#274104 #04413C #1E0441 #410408
square
#274104 #04413C #1E0441 #410408
split-complementary
#274104 #040841 #3C0441
monochromatic
#111D02 #111D02 #274104 #4A7B08 #6CB40B

Accessibility & contrast

On white

11.39
#274104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#274104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274104
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274104#FFFFFF#000000##FFFFFF
##2741041.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#41390B
Tritanopia (blue-blind)
#283E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #274104;
/* rgb */ color: rgb(39, 65, 4);
/* oklch */ color: oklch(34.1% 0.089 131.0);
Tailwind
colors: {
  custom: {
    50: '#64764b',
    500: '#274104',
    950: '#000000',
  },
}
SCSS
$custom: #274104;
$custom-light: #64764b;
$custom-dark: #000000;
JSON
{
  "hex": "#274104",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 85.574,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34127,
    "c": 0.08948,
    "h": 131
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#274104
secondary
#491F82
accent
#29FF84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #274104

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

Preview Lab → · Contrast checker → · Palette generator →

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