#7D8B29#7D8B29

#7D8B29 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.6% C 0.122 H 117.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7D8B29
RGBrgb(125, 139, 41)
HSLhsl(69, 54%, 35%)
HSVhsv(69, 71%, 55%)
CMYKcmyk(10.1%, 0%, 70.5%, 45.5%)
CIE-LABlab(55.06, -18.67, 48.22)
CIE-LCHlch(55.06, 51.71, 111.16°)
OKLaboklab(60.62% -0.0556 0.1081)
OKLCHoklch(60.62% 0.122 117.2)
XYZxyz(18.0907, 22.9855, 5.5810)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8B29 #37298B
analogous
#8B6829 #7D8B29 #4C8B29
triadic
#7D8B29 #297D8B #8B297D
tetradic
#7D8B29 #298B68 #37298B #8B294C
square
#7D8B29 #298B68 #37298B #8B294C
split-complementary
#7D8B29 #294C8B #68298B
monochromatic
#282C0D #525C1B #7D8B29 #A8BA37 #C0D05F

Accessibility & contrast

On white

3.75
#7D8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7D8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8B29
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8B29#FFFFFF#000000##000000
##7D8B291.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95831A
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#858378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8b29;
/* rgb */ color: rgb(125, 139, 41);
/* oklch */ color: oklch(60.6% 0.122 117.2);
Tailwind
colors: {
  custom: {
    50: '#a5ac69',
    500: '#7d8b29',
    950: '#000000',
  },
}
SCSS
$custom: #7d8b29;
$custom-light: #a5ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8b29",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 68.571,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.12159,
    "h": 117.2
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#7D8B29
secondary
#675BB5
accent
#4ADE5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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