#7E8635#7E8635

#7E8635 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.6% C 0.105 H 114.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E8635
RGBrgb(126, 134, 53)
HSLhsl(66, 43%, 37%)
HSVhsv(66, 60%, 53%)
CMYKcmyk(6%, 0%, 60.4%, 47.5%)
CIE-LABlab(53.75, -14.75, 41.59)
CIE-LCHlch(53.75, 44.13, 109.52°)
OKLaboklab(59.62% -0.0434 0.0959)
OKLCHoklch(59.62% 0.105 114.4)
XYZxyz(17.7723, 21.7431, 6.6281)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8635 #3D3586
analogous
#866635 #7E8635 #568635
triadic
#7E8635 #357E86 #86357E
tetradic
#7E8635 #358666 #3D3586 #863556
square
#7E8635 #358666 #3D3586 #863556
split-complementary
#7E8635 #355686 #663586
monochromatic
#2C2E12 #555A24 #7E8635 #A7B246 #BEC66F

Accessibility & contrast

On white

3.93
#7E8635 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7E8635 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8635
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8635#FFFFFF#000000##000000
##7E86351.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802C
Deuteranopia (green-blind)
#8F813A
Tritanopia (blue-blind)
#867F75
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8635;
/* rgb */ color: rgb(126, 134, 53);
/* oklch */ color: oklch(59.6% 0.105 114.4);
Tailwind
colors: {
  custom: {
    50: '#a5a970',
    500: '#7e8635',
    950: '#000000',
  },
}
SCSS
$custom: #7e8635;
$custom-light: #a5a970;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8635",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 53
  },
  "hsl": {
    "h": 65.926,
    "s": 43.316,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.10529,
    "h": 114.4
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#7E8635
secondary
#6F68AE
accent
#55D361
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #7E8635

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

Preview Lab → · Contrast checker → · Palette generator →

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