#274E03#274E03

#274E03 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.108 H 134.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#274E03
RGBrgb(39, 78, 3)
HSLhsl(91, 93%, 16%)
HSVhsv(91, 96%, 31%)
CMYKcmyk(50%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.12, -26.94, 35.45)
CIE-LCHlch(29.12, 44.52, 127.23°)
OKLaboklab(38.01% -0.0758 0.0767)
OKLCHoklch(38.01% 0.108 134.6)
XYZxyz(3.5775, 5.8865, 1.0338)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E03 #2A034E
analogous
#4C4E03 #274E03 #034E04
triadic
#274E03 #03274E #4E0327
tetradic
#274E03 #034C4E #2A034E #4E0403
square
#274E03 #034C4E #2A034E #4E0403
split-complementary
#274E03 #04034E #4E034C
monochromatic
#0F1D01 #0F1D01 #274E03 #448905 #62C408

Accessibility & contrast

On white

9.64
#274E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E03
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E03#FFFFFF#000000##FFFFFF
##274E031.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274e03;
/* rgb */ color: rgb(39, 78, 3);
/* oklch */ color: oklch(38.0% 0.108 134.6);
Tailwind
colors: {
  custom: {
    50: '#66804d',
    500: '#274e03',
    950: '#000000',
  },
}
SCSS
$custom: #274e03;
$custom-light: #66804d;
$custom-dark: #000000;
JSON
{
  "hex": "#274e03",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 91.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38007,
    "c": 0.10783,
    "h": 134.6
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#274E03
secondary
#591E8E
accent
#29FF98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A01
muted
#7A7C77

Preview Lab

Preview with #274E03

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

Preview Lab → · Contrast checker → · Palette generator →

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