#7B7E19#7B7E19

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

Color values

HEX#7B7E19
RGBrgb(123, 126, 25)
HSLhsl(62, 67%, 30%)
HSVhsv(62, 80%, 49%)
CMYKcmyk(2.4%, 0%, 80.2%, 50.6%)
CIE-LABlab(50.92, -13.51, 50.06)
CIE-LCHlch(50.92, 51.86, 105.11°)
OKLaboklab(57.23% -0.0427 0.1092)
OKLCHoklch(57.23% 0.117 111.4)
XYZxyz(15.8053, 19.2033, 3.7935)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E19 #1C197E
analogous
#7E4F19 #7B7E19 #497E19
triadic
#7B7E19 #197B7E #7E197B
tetradic
#7B7E19 #197E4F #1C197E #7E1949
square
#7B7E19 #197E4F #1C197E #7E1949
split-complementary
#7B7E19 #19497E #4F197E
monochromatic
#191A05 #494B0F #7B7E19 #ADB123 #D3D83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7E19#FFFFFF#000000##000000
##7B7E191.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)
#897A22
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7e19;
/* rgb */ color: rgb(123, 126, 25);
/* oklch */ color: oklch(57.2% 0.117 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a360',
    500: '#7b7e19',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e19;
$custom-light: #a4a360;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e19",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 61.782,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.11721,
    "h": 111.4
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#7B7E19
secondary
#4441B2
accent
#3EEA43
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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