#274E07#274E07

#274E07 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.106 H 135.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#274E07
RGBrgb(39, 78, 7)
HSLhsl(93, 84%, 17%)
HSVhsv(93, 91%, 31%)
CMYKcmyk(50%, 0%, 91%, 69.4%)
CIE-LABlab(29.15, -26.69, 33.97)
CIE-LCHlch(29.15, 43.20, 128.16°)
OKLaboklab(38.03% -0.0748 0.0745)
OKLCHoklch(38.03% 0.106 135.1)
XYZxyz(3.5994, 5.8952, 1.1492)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E07 #2E074E
analogous
#4B4E07 #274E07 #074E0B
triadic
#274E07 #07274E #4E0727
tetradic
#274E07 #074B4E #2E074E #4E0B07
square
#274E07 #074B4E #2E074E #4E0B07
split-complementary
#274E07 #0B074E #4E074B
monochromatic
#0E1C03 #0E1C03 #274E07 #43860C #5FBE11

Accessibility & contrast

On white

9.64
#274E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E07
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E07#FFFFFF#000000##FFFFFF
##274E071.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#264B41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274e07;
/* rgb */ color: rgb(39, 78, 7);
/* oklch */ color: oklch(38.0% 0.106 135.1);
Tailwind
colors: {
  custom: {
    50: '#66804f',
    500: '#274e07',
    950: '#000000',
  },
}
SCSS
$custom: #274e07;
$custom-light: #66804f;
$custom-dark: #000000;
JSON
{
  "hex": "#274e07",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 92.958,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.10557,
    "h": 135.1
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#274E07
secondary
#5D258C
accent
#2EFA9E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274E07

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

Preview Lab → · Contrast checker → · Palette generator →

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