#7B8A29#7B8A29

#7B8A29 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.121 H 117.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7B8A29
RGBrgb(123, 138, 41)
HSLhsl(69, 54%, 35%)
HSVhsv(69, 70%, 54%)
CMYKcmyk(10.9%, 0%, 70.3%, 45.9%)
CIE-LABlab(54.60, -19.03, 47.71)
CIE-LCHlch(54.60, 51.37, 111.74°)
OKLaboklab(60.21% -0.0565 0.1071)
OKLCHoklch(60.21% 0.121 117.8)
XYZxyz(17.6575, 22.5482, 5.5194)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A29 #38298A
analogous
#8A6829 #7B8A29 #4B8A29
triadic
#7B8A29 #297B8A #8A297B
tetradic
#7B8A29 #298A68 #38298A #8A294B
square
#7B8A29 #298A68 #38298A #8A294B
split-complementary
#7B8A29 #294B8A #68298A
monochromatic
#272C0D #515B1B #7B8A29 #A5B937 #BECF5E

Accessibility & contrast

On white

3.81
#7B8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7B8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A29
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A29#FFFFFF#000000##000000
##7B8A291.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#838277
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a29;
/* rgb */ color: rgb(123, 138, 41);
/* oklch */ color: oklch(60.2% 0.121 117.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac69',
    500: '#7b8a29',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a29;
$custom-light: #a4ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a29",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 69.278,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.1211,
    "h": 117.8
  },
  "luminance": 0.22548
}

Semantic roles & 50–950 ramp

primary
#7B8A29
secondary
#685AB5
accent
#4ADE61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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