#274F0D#274F0D

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

Color values

HEX#274F0D
RGBrgb(39, 79, 13)
HSLhsl(96, 72%, 18%)
HSVhsv(96, 84%, 31%)
CMYKcmyk(50.6%, 0%, 83.5%, 69%)
CIE-LABlab(29.54, -26.77, 32.19)
CIE-LCHlch(29.54, 41.87, 129.75°)
OKLaboklab(38.37% -0.0746 0.0718)
OKLCHoklch(38.37% 0.104 136.1)
XYZxyz(3.7052, 6.0521, 1.3536)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F0D #350D4F
analogous
#484F0D #274F0D #0D4F14
triadic
#274F0D #0D274F #4F0D27
tetradic
#274F0D #0D484F #350D4F #4F140D
square
#274F0D #0D484F #350D4F #4F140D
split-complementary
#274F0D #140D4F #4F0D48
monochromatic
#0D1A04 #0D1A04 #274F0D #418416 #5BB81E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274F0D#FFFFFF#000000##FFFFFF
##274F0D1.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)
#524801
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#254C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f0d;
/* rgb */ color: rgb(39, 79, 13);
/* oklch */ color: oklch(38.4% 0.104 136.1);
Tailwind
colors: {
  custom: {
    50: '#668151',
    500: '#274f0d',
    950: '#000000',
  },
}
SCSS
$custom: #274f0d;
$custom-light: #668151;
$custom-dark: #000000;
JSON
{
  "hex": "#274f0d",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 96.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.10356,
    "h": 136.1
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#274F0D
secondary
#662E8A
accent
#39EEA7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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