#242F03#242F03

#242F03 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.066 H 123.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#242F03
RGBrgb(36, 47, 3)
HSLhsl(75, 88%, 10%)
HSVhsv(75, 94%, 18%)
CMYKcmyk(23.4%, 0%, 93.6%, 81.6%)
CIE-LABlab(17.53, -12.23, 23.65)
CIE-LCHlch(17.53, 26.62, 117.34°)
OKLaboklab(28.49% -0.036 0.0555)
OKLCHoklch(28.49% 0.066 123)
XYZxyz(1.7605, 2.4147, 0.4595)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F03 #0E032F
analogous
#2F2403 #242F03 #0E2F03
triadic
#242F03 #03242F #2F0324
tetradic
#242F03 #032F24 #0E032F #2F030E
square
#242F03 #032F24 #0E032F #2F030E
split-complementary
#242F03 #030E2F #24032F
monochromatic
#161D02 #161D02 #242F03 #506907 #7CA20A

Accessibility & contrast

On white

14.16
#242F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#242F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F03
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F03#FFFFFF#000000##FFFFFF
##242F031.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#262C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242f03;
/* rgb */ color: rgb(36, 47, 3);
/* oklch */ color: oklch(28.5% 0.066 123.0);
Tailwind
colors: {
  custom: {
    50: '#606748',
    500: '#242f03',
    950: '#000000',
  },
}
SCSS
$custom: #242f03;
$custom-light: #606748;
$custom-dark: #000000;
JSON
{
  "hex": "#242f03",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 75,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28489,
    "c": 0.06618,
    "h": 123
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#242F03
secondary
#311B73
accent
#2AFE5F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #242F03

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

Preview Lab → · Contrast checker → · Palette generator →

#242F03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva