#7E7B10#7E7B10

#7E7B10 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.117 H 107.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7B10
RGBrgb(126, 123, 16)
HSLhsl(58, 77%, 28%)
HSVhsv(58, 87%, 49%)
CMYKcmyk(0%, 2.4%, 87.3%, 50.6%)
CIE-LABlab(50.26, -10.80, 52.16)
CIE-LCHlch(50.26, 53.27, 101.70°)
OKLaboklab(56.75% -0.036 0.1118)
OKLCHoklch(56.75% 0.117 107.8)
XYZxyz(15.7813, 18.6395, 3.2566)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7B10 #10137E
analogous
#7E4410 #7E7B10 #4A7E10
triadic
#7E7B10 #107E7B #7B107E
tetradic
#7E7B10 #107E44 #10137E #7E104A
square
#7E7B10 #107E44 #10137E #7E104A
split-complementary
#7E7B10 #104A7E #44107E
monochromatic
#1B1B03 #484609 #7E7B10 #B4B017 #E3DE25

Accessibility & contrast

On white

4.44
#7E7B10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7E7B10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7B10
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7B10#FFFFFF#000000##000000
##7E7B101.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#88791B
Tritanopia (blue-blind)
#887268
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e7b10;
/* rgb */ color: rgb(126, 123, 16);
/* oklch */ color: oklch(56.8% 0.117 107.8);
Tailwind
colors: {
  custom: {
    50: '#a7a05c',
    500: '#7e7b10',
    950: '#000000',
  },
}
SCSS
$custom: #7e7b10;
$custom-light: #a7a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7b10",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 16
  },
  "hsl": {
    "h": 58.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.11748,
    "h": 107.8
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#7E7B10
secondary
#3639B4
accent
#39F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7B10

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

Preview Lab → · Contrast checker → · Palette generator →

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