#6E7923#6E7923

#6E7923 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.109 H 116.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6E7923
RGBrgb(110, 121, 35)
HSLhsl(68, 55%, 31%)
HSVhsv(68, 71%, 47%)
CMYKcmyk(9.1%, 0%, 71.1%, 52.5%)
CIE-LABlab(48.40, -16.25, 43.58)
CIE-LCHlch(48.40, 46.51, 110.45°)
OKLaboklab(54.96% -0.0486 0.0978)
OKLCHoklch(54.96% 0.109 116.4)
XYZxyz(13.5715, 17.1113, 4.1776)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7923 #2E2379
analogous
#795923 #6E7923 #437923
triadic
#6E7923 #236E79 #79236E
tetradic
#6E7923 #237959 #2E2379 #792343
square
#6E7923 #237959 #2E2379 #792343
split-complementary
#6E7923 #234379 #592379
monochromatic
#181A08 #434A15 #6E7923 #99A831 #BBCB4B

Accessibility & contrast

On white

4.75
#6E7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6E7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7923
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7923#FFFFFF#000000##FFFFFF
##6E79231.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#757268
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7923;
/* rgb */ color: rgb(110, 121, 35);
/* oklch */ color: oklch(55.0% 0.109 116.4);
Tailwind
colors: {
  custom: {
    50: '#9a9f64',
    500: '#6e7923',
    950: '#000000',
  },
}
SCSS
$custom: #6e7923;
$custom-light: #9a9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7923",
  "rgb": {
    "r": 110,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 67.674,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.10917,
    "h": 116.4
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#6E7923
secondary
#584CAC
accent
#49DE5C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #6E7923

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

Preview Lab → · Contrast checker → · Palette generator →

#6E7923 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva