#274207#274207

#274207 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.089 H 131.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#274207
RGBrgb(39, 66, 7)
HSLhsl(87, 81%, 14%)
HSVhsv(87, 89%, 26%)
CMYKcmyk(40.9%, 0%, 89.4%, 74.1%)
CIE-LABlab(24.77, -20.90, 29.98)
CIE-LCHlch(24.77, 36.55, 124.89°)
OKLaboklab(34.45% -0.0592 0.0662)
OKLCHoklch(34.45% 0.089 131.9)
XYZxyz(2.8232, 4.3430, 0.8905)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274207 #220742
analogous
#424007 #274207 #094207
triadic
#274207 #072742 #420727
tetradic
#274207 #074240 #220742 #420709
square
#274207 #074240 #220742 #420709
split-complementary
#274207 #070942 #400742
monochromatic
#101C03 #101C03 #274207 #48790D #68B113

Accessibility & contrast

On white

11.24
#274207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#274207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274207
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274207#FFFFFF#000000##FFFFFF
##2742071.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#283F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #274207;
/* rgb */ color: rgb(39, 66, 7);
/* oklch */ color: oklch(34.4% 0.089 131.9);
Tailwind
colors: {
  custom: {
    50: '#64764c',
    500: '#274207',
    950: '#000000',
  },
}
SCSS
$custom: #274207;
$custom-light: #64764c;
$custom-dark: #000000;
JSON
{
  "hex": "#274207",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 87.458,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.08881,
    "h": 131.9
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#274207
secondary
#4E2481
accent
#31F78B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #274207

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

Preview Lab → · Contrast checker → · Palette generator →

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