#7E6923#7E6923

#7E6923 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.7% C 0.091 H 92.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E6923
RGBrgb(126, 105, 35)
HSLhsl(46, 57%, 32%)
HSVhsv(46, 72%, 49%)
CMYKcmyk(0%, 16.7%, 72.2%, 50.6%)
CIE-LABlab(45.17, 0.16, 40.77)
CIE-LCHlch(45.17, 40.77, 89.78°)
OKLaboklab(52.74% -0.0032 0.0913)
OKLCHoklch(52.74% 0.091 92)
XYZxyz(13.9599, 14.6609, 3.6843)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6923 #23387E
analogous
#7E3C23 #7E6923 #667E23
triadic
#7E6923 #237E69 #69237E
tetradic
#7E6923 #237E3C #23387E #7E2366
square
#7E6923 #237E3C #23387E #7E2366
split-complementary
#7E6923 #23667E #3C237E
monochromatic
#1E1908 #4E4116 #7E6923 #AE9130 #CEB04E

Accessibility & contrast

On white

5.34
#7E6923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7E6923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6923
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6923#FFFFFF#000000##FFFFFF
##7E69231.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75671A
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#88605B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6923;
/* rgb */ color: rgb(126, 105, 35);
/* oklch */ color: oklch(52.7% 0.091 92.0);
Tailwind
colors: {
  custom: {
    50: '#a79362',
    500: '#7e6923',
    950: '#000000',
  },
}
SCSS
$custom: #7e6923;
$custom-light: #a79362;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6923",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 46.154,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.09137,
    "h": 92
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#7E6923
secondary
#4C63B0
accent
#6BE048
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7E6923

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

Preview Lab → · Contrast checker → · Palette generator →

#7E6923 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva