#274D0D#274D0D

#274D0D is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.101 H 135.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#274D0D
RGBrgb(39, 77, 13)
HSLhsl(96, 71%, 18%)
HSVhsv(96, 83%, 30%)
CMYKcmyk(49.4%, 0%, 83.1%, 69.8%)
CIE-LABlab(28.82, -25.85, 31.49)
CIE-LCHlch(28.82, 40.74, 129.38°)
OKLaboklab(37.78% -0.0721 0.0704)
OKLCHoklch(37.78% 0.101 135.7)
XYZxyz(3.5631, 5.7679, 1.3063)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D0D #330D4D
analogous
#474D0D #274D0D #0D4D13
triadic
#274D0D #0D274D #4D0D27
tetradic
#274D0D #0D474D #330D4D #4D130D
square
#274D0D #0D474D #330D4D #4D130D
split-complementary
#274D0D #130D4D #4D0D47
monochromatic
#0D1A04 #0D1A04 #274D0D #428116 #5CB61F

Accessibility & contrast

On white

9.75
#274D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#274D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D0D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D0D#FFFFFF#000000##FFFFFF
##274D0D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#264A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274d0d;
/* rgb */ color: rgb(39, 77, 13);
/* oklch */ color: oklch(37.8% 0.101 135.7);
Tailwind
colors: {
  custom: {
    50: '#657f51',
    500: '#274d0d',
    950: '#000000',
  },
}
SCSS
$custom: #274d0d;
$custom-light: #657f51;
$custom-dark: #000000;
JSON
{
  "hex": "#274d0d",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 95.625,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37775,
    "c": 0.10075,
    "h": 135.7
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#274D0D
secondary
#632E88
accent
#3AEEA5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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