#7B7E14#7B7E14

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

Color values

HEX#7B7E14
RGBrgb(123, 126, 20)
HSLhsl(62, 73%, 29%)
HSVhsv(62, 84%, 49%)
CMYKcmyk(2.4%, 0%, 84.1%, 50.6%)
CIE-LABlab(50.90, -13.70, 51.55)
CIE-LCHlch(50.90, 53.34, 104.88°)
OKLaboklab(57.21% -0.0436 0.1114)
OKLCHoklch(57.21% 0.12 111.4)
XYZxyz(15.7561, 19.1836, 3.5345)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E14 #17147E
analogous
#7E4C14 #7B7E14 #467E14
triadic
#7B7E14 #147B7E #7E147B
tetradic
#7B7E14 #147E4C #17147E #7E1446
square
#7B7E14 #147E4C #17147E #7E1446
split-complementary
#7B7E14 #14467E #4C147E
monochromatic
#1A1A04 #47490C #7B7E14 #AFB31C #D9DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7E14#FFFFFF#000000##000000
##7B7E141.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)
#897800
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7e14;
/* rgb */ color: rgb(123, 126, 20);
/* oklch */ color: oklch(57.2% 0.120 111.4);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7b7e14',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e14;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e14",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 61.698,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.11962,
    "h": 111.4
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

primary
#7B7E14
secondary
#3E3AB3
accent
#38EF3E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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