#7D7A1B#7D7A1B

#7D7A1B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.111 H 107.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A1B
RGBrgb(125, 122, 27)
HSLhsl(58, 64%, 30%)
HSVhsv(58, 78%, 49%)
CMYKcmyk(0%, 2.4%, 78.4%, 51%)
CIE-LABlab(49.93, -10.33, 48.55)
CIE-LCHlch(49.93, 49.64, 102.01°)
OKLaboklab(56.48% -0.0337 0.1063)
OKLCHoklch(56.48% 0.111 107.6)
XYZxyz(15.6154, 18.3587, 3.7577)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A1B #1B1E7D
analogous
#7D491B #7D7A1B #4F7D1B
triadic
#7D7A1B #1B7D7A #7A1B7D
tetradic
#7D7A1B #1B7D49 #1B1E7D #7D1B4F
square
#7D7A1B #1B7D49 #1B1E7D #7D1B4F
split-complementary
#7D7A1B #1B4F7D #491B7D
monochromatic
#191905 #4B4910 #7D7A1B #AFAB26 #D5D03D

Accessibility & contrast

On white

4.50
#7D7A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7D7A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A1B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A1B#FFFFFF#000000##000000
##7D7A1B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a1b;
/* rgb */ color: rgb(125, 122, 27);
/* oklch */ color: oklch(56.5% 0.111 107.6);
Tailwind
colors: {
  custom: {
    50: '#a6a060',
    500: '#7d7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a1b;
$custom-light: #a6a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a1b",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 58.163,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.11148,
    "h": 107.6
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#7D7A1B
secondary
#4346B1
accent
#45E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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