#7E7618#7E7618

#7E7618 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.109 H 104.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E7618
RGBrgb(126, 118, 24)
HSLhsl(55, 68%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 6.3%, 81%, 50.6%)
CIE-LABlab(48.83, -7.77, 48.61)
CIE-LCHlch(48.83, 49.23, 99.08°)
OKLaboklab(55.63% -0.0269 0.1057)
OKLCHoklch(55.63% 0.109 104.3)
XYZxyz(15.2482, 17.4591, 3.4307)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7618 #18207E
analogous
#7E4318 #7E7618 #537E18
triadic
#7E7618 #187E76 #76187E
tetradic
#7E7618 #187E43 #18207E #7E1853
square
#7E7618 #187E43 #18207E #7E1853
split-complementary
#7E7618 #18537E #43187E
monochromatic
#1A1805 #4B460E #7E7618 #B1A622 #D9CC37

Accessibility & contrast

On white

4.68
#7E7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7618
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7618#FFFFFF#000000##FFFFFF
##7E76181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7618;
/* rgb */ color: rgb(126, 118, 24);
/* oklch */ color: oklch(55.6% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a79d5e',
    500: '#7e7618',
    950: '#000000',
  },
}
SCSS
$custom: #7e7618;
$custom-light: #a79d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7618",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 55.294,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55625,
    "c": 0.1091,
    "h": 104.3
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#7E7618
secondary
#3F48B2
accent
#4BEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7618

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

Preview Lab → · Contrast checker → · Palette generator →

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