#242F08#242F08

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

Color values

HEX#242F08
RGBrgb(36, 47, 8)
HSLhsl(77, 71%, 11%)
HSVhsv(77, 83%, 18%)
CMYKcmyk(23.4%, 0%, 83%, 81.6%)
CIE-LABlab(17.58, -11.76, 21.67)
CIE-LCHlch(17.58, 24.66, 118.49°)
OKLaboklab(28.55% -0.034 0.0507)
OKLCHoklch(28.55% 0.061 123.9)
XYZxyz(1.7879, 2.4256, 0.6037)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F08 #13082F
analogous
#2F2608 #242F08 #102F08
triadic
#242F08 #08242F #2F0824
tetradic
#242F08 #082F26 #13082F #2F0810
square
#242F08 #082F26 #13082F #2F0810
split-complementary
#242F08 #08102F #26082F
monochromatic
#141A04 #141A04 #242F08 #4C6311 #74981A

Accessibility & contrast

On white

14.14
#242F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#242F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F08
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F08#FFFFFF#000000##FFFFFF
##242F081.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f08;
/* rgb */ color: rgb(36, 47, 8);
/* oklch */ color: oklch(28.5% 0.061 123.9);
Tailwind
colors: {
  custom: {
    50: '#60674b',
    500: '#242f08',
    950: '#000000',
  },
}
SCSS
$custom: #242f08;
$custom-light: #60674b;
$custom-dark: #000000;
JSON
{
  "hex": "#242f08",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 76.923,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28546,
    "c": 0.06106,
    "h": 123.9
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#242F08
secondary
#3A256E
accent
#3AEE6D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #242F08

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

Preview Lab → · Contrast checker → · Palette generator →

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