#274F0E#274F0E

#274F0E is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.4% C 0.103 H 136.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#274F0E
RGBrgb(39, 79, 14)
HSLhsl(97, 70%, 18%)
HSVhsv(97, 82%, 31%)
CMYKcmyk(50.6%, 0%, 82.3%, 69%)
CIE-LABlab(29.55, -26.70, 31.81)
CIE-LCHlch(29.55, 41.53, 130.01°)
OKLaboklab(38.38% -0.0743 0.0712)
OKLCHoklch(38.38% 0.103 136.2)
XYZxyz(3.7118, 6.0548, 1.3885)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F0E #360E4F
analogous
#474F0E #274F0E #0E4F15
triadic
#274F0E #0E274F #4F0E27
tetradic
#274F0E #0E474F #360E4F #4F150E
square
#274F0E #0E474F #360E4F #4F150E
split-complementary
#274F0E #150E4F #4F0E47
monochromatic
#0D1A05 #0D1B05 #274F0E #418317 #5AB720

Accessibility & contrast

On white

9.50
#274F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#274F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F0E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F0E#FFFFFF#000000##FFFFFF
##274F0E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524803
Deuteranopia (green-blind)
#4D4415
Tritanopia (blue-blind)
#254C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f0e;
/* rgb */ color: rgb(39, 79, 14);
/* oklch */ color: oklch(38.4% 0.103 136.2);
Tailwind
colors: {
  custom: {
    50: '#668152',
    500: '#274f0e',
    950: '#000000',
  },
}
SCSS
$custom: #274f0e;
$custom-light: #668152;
$custom-dark: #000000;
JSON
{
  "hex": "#274f0e",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 96.923,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38377,
    "c": 0.10293,
    "h": 136.2
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#274F0E
secondary
#672F8A
accent
#3BEDA8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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