#274004#274004

#274004 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.088 H 130.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#274004
RGBrgb(39, 64, 4)
HSLhsl(85, 88%, 13%)
HSVhsv(85, 94%, 25%)
CMYKcmyk(39.1%, 0%, 93.8%, 74.9%)
CIE-LABlab(24.02, -20.10, 30.46)
CIE-LCHlch(24.02, 36.49, 123.41°)
OKLaboklab(33.83% -0.0574 0.0668)
OKLCHoklch(33.83% 0.088 130.7)
XYZxyz(2.6920, 4.1068, 0.7657)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274004 #1D0440
analogous
#403B04 #274004 #094004
triadic
#274004 #042740 #400427
tetradic
#274004 #04403B #1D0440 #400409
square
#274004 #04403B #1D0440 #400409
split-complementary
#274004 #040940 #3B0440
monochromatic
#121D02 #121D02 #274004 #4A7A08 #6DB30B

Accessibility & contrast

On white

11.53
#274004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274004
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274004#FFFFFF#000000##FFFFFF
##2740041.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40380A
Tritanopia (blue-blind)
#283D35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #274004;
/* rgb */ color: rgb(39, 64, 4);
/* oklch */ color: oklch(33.8% 0.088 130.7);
Tailwind
colors: {
  custom: {
    50: '#64754b',
    500: '#274004',
    950: '#000000',
  },
}
SCSS
$custom: #274004;
$custom-light: #64754b;
$custom-dark: #000000;
JSON
{
  "hex": "#274004",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 85,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33828,
    "c": 0.08807,
    "h": 130.7
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#274004
secondary
#481F81
accent
#29FE82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #274004

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

Preview Lab → · Contrast checker → · Palette generator →

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