#274E0F#274E0F

#274E0F is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.101 H 136.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#274E0F
RGBrgb(39, 78, 15)
HSLhsl(97, 68%, 18%)
HSVhsv(97, 81%, 31%)
CMYKcmyk(50%, 0%, 80.8%, 69.4%)
CIE-LABlab(29.20, -26.16, 31.05)
CIE-LCHlch(29.20, 40.61, 130.11°)
OKLaboklab(38.09% -0.0728 0.0698)
OKLCHoklch(38.09% 0.101 136.2)
XYZxyz(3.6472, 5.9144, 1.4013)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E0F #360F4E
analogous
#464E0F #274E0F #0F4E16
triadic
#274E0F #0F274E #4E0F27
tetradic
#274E0F #0F464E #360F4E #4E160F
square
#274E0F #0F464E #360F4E #4E160F
split-complementary
#274E0F #160F4E #4E0F46
monochromatic
#0D1A05 #0D1B05 #274E0F #418119 #5AB523

Accessibility & contrast

On white

9.62
#274E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#274E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E0F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E0F#FFFFFF#000000##FFFFFF
##274E0F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#254B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274e0f;
/* rgb */ color: rgb(39, 78, 15);
/* oklch */ color: oklch(38.1% 0.101 136.2);
Tailwind
colors: {
  custom: {
    50: '#668052',
    500: '#274e0f',
    950: '#000000',
  },
}
SCSS
$custom: #274e0f;
$custom-light: #668052;
$custom-dark: #000000;
JSON
{
  "hex": "#274e0f",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 97.143,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38088,
    "c": 0.10085,
    "h": 136.2
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#274E0F
secondary
#673188
accent
#3DEBA9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274E0F

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

Preview Lab → · Contrast checker → · Palette generator →

#274E0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva