#274C0E#274C0E

#274C0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.099 H 135.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#274C0E
RGBrgb(39, 76, 14)
HSLhsl(96, 69%, 18%)
HSVhsv(96, 82%, 30%)
CMYKcmyk(48.7%, 0%, 81.6%, 70.2%)
CIE-LABlab(28.46, -25.30, 30.74)
CIE-LCHlch(28.46, 39.81, 129.46°)
OKLaboklab(37.49% -0.0705 0.069)
OKLCHoklch(37.49% 0.099 135.6)
XYZxyz(3.5003, 5.6317, 1.3180)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C0E #330E4C
analogous
#464C0E #274C0E #0E4C14
triadic
#274C0E #0E274C #4C0E27
tetradic
#274C0E #0E464C #330E4C #4C140E
square
#274C0E #0E464C #330E4C #4C140E
split-complementary
#274C0E #140E4C #4C0E46
monochromatic
#0D1A05 #0D1A05 #274C0E #428018 #5CB321

Accessibility & contrast

On white

9.88
#274C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#274C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C0E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C0E#FFFFFF#000000##FFFFFF
##274C0E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#264940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274c0e;
/* rgb */ color: rgb(39, 76, 14);
/* oklch */ color: oklch(37.5% 0.099 135.6);
Tailwind
colors: {
  custom: {
    50: '#657e51',
    500: '#274c0e',
    950: '#000000',
  },
}
SCSS
$custom: #274c0e;
$custom-light: #657e51;
$custom-dark: #000000;
JSON
{
  "hex": "#274c0e",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 95.806,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.09867,
    "h": 135.6
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#274C0E
secondary
#632F87
accent
#3CECA5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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