#274E0C#274E0C

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

Color values

HEX#274E0C
RGBrgb(39, 78, 12)
HSLhsl(95, 73%, 18%)
HSVhsv(95, 85%, 31%)
CMYKcmyk(50%, 0%, 84.6%, 69.4%)
CIE-LABlab(29.18, -26.38, 32.22)
CIE-LCHlch(29.18, 41.64, 129.31°)
OKLaboklab(38.07% -0.0736 0.0717)
OKLCHoklch(38.07% 0.103 135.7)
XYZxyz(3.6274, 5.9064, 1.2967)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E0C #330C4E
analogous
#484E0C #274E0C #0C4E12
triadic
#274E0C #0C274E #4E0C27
tetradic
#274E0C #0C484E #330C4E #4E120C
square
#274E0C #0C484E #330C4E #4E120C
split-complementary
#274E0C #120C4E #4E0C48
monochromatic
#0D1B04 #0D1B04 #274E0C #428314 #5CB81C

Accessibility & contrast

On white

9.63
#274E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E0C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E0C#FFFFFF#000000##FFFFFF
##274E0C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274e0c;
/* rgb */ color: rgb(39, 78, 12);
/* oklch */ color: oklch(38.1% 0.103 135.7);
Tailwind
colors: {
  custom: {
    50: '#668051',
    500: '#274e0c',
    950: '#000000',
  },
}
SCSS
$custom: #274e0c;
$custom-light: #668051;
$custom-dark: #000000;
JSON
{
  "hex": "#274e0c",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 95.455,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38065,
    "c": 0.10277,
    "h": 135.7
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#274E0C
secondary
#632C8A
accent
#38F0A5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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