#7B7E18#7B7E18

#7B7E18 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.118 H 111.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7B7E18
RGBrgb(123, 126, 24)
HSLhsl(62, 68%, 29%)
HSVhsv(62, 81%, 49%)
CMYKcmyk(2.4%, 0%, 81%, 50.6%)
CIE-LABlab(50.92, -13.55, 50.38)
CIE-LCHlch(50.92, 52.17, 105.06°)
OKLaboklab(57.23% -0.0429 0.1096)
OKLCHoklch(57.23% 0.118 111.4)
XYZxyz(15.7947, 19.1990, 3.7377)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E18 #1B187E
analogous
#7E4E18 #7B7E18 #487E18
triadic
#7B7E18 #187B7E #7E187B
tetradic
#7B7E18 #187E4E #1B187E #7E1848
square
#7B7E18 #187E4E #1B187E #7E1848
split-complementary
#7B7E18 #18487E #4E187E
monochromatic
#191A05 #494B0E #7B7E18 #ADB122 #D4D937

Accessibility & contrast

On white

4.34
#7B7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7B7E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7E18
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7E18#FFFFFF#000000##000000
##7B7E181.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7e18;
/* rgb */ color: rgb(123, 126, 24);
/* oklch */ color: oklch(57.2% 0.118 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a35f',
    500: '#7b7e18',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e18;
$custom-light: #a4a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e18",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 61.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57225,
    "c": 0.11773,
    "h": 111.4
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#7B7E18
secondary
#433FB2
accent
#3DEB42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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