#7D751B#7D751B

#7D751B is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.107 H 104.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D751B
RGBrgb(125, 117, 27)
HSLhsl(55, 64%, 30%)
HSVhsv(55, 78%, 49%)
CMYKcmyk(0%, 6.4%, 78.4%, 51%)
CIE-LABlab(48.46, -7.56, 47.20)
CIE-LCHlch(48.46, 47.80, 99.10°)
OKLaboklab(55.31% -0.026 0.1034)
OKLCHoklch(55.31% 0.107 104.1)
XYZxyz(15.0172, 17.1623, 3.5583)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D751B #1B237D
analogous
#7D441B #7D751B #547D1B
triadic
#7D751B #1B7D75 #751B7D
tetradic
#7D751B #1B7D44 #1B237D #7D1B54
square
#7D751B #1B7D44 #1B237D #7D1B54
split-complementary
#7D751B #1B547D #441B7D
monochromatic
#191805 #4B4610 #7D751B #AFA426 #D5C93D

Accessibility & contrast

On white

4.74
#7D751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D751B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D751B#FFFFFF#000000##FFFFFF
##7D751B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807107
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d751b;
/* rgb */ color: rgb(125, 117, 27);
/* oklch */ color: oklch(55.3% 0.107 104.1);
Tailwind
colors: {
  custom: {
    50: '#a69c5f',
    500: '#7d751b',
    950: '#000000',
  },
}
SCSS
$custom: #7d751b;
$custom-light: #a69c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d751b",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 55.102,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55314,
    "c": 0.10658,
    "h": 104.1
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#7D751B
secondary
#434CB1
accent
#4EE740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D751B

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

Preview Lab → · Contrast checker → · Palette generator →

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