#787923#787923

#787923 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.106 H 110.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#787923
RGBrgb(120, 121, 35)
HSLhsl(61, 55%, 31%)
HSVhsv(61, 71%, 47%)
CMYKcmyk(0.8%, 0%, 71.1%, 52.5%)
CIE-LABlab(49.24, -11.69, 44.70)
CIE-LCHlch(49.24, 46.20, 104.65°)
OKLaboklab(55.84% -0.0364 0.0998)
OKLCHoklch(55.84% 0.106 110)
XYZxyz(14.8870, 17.7896, 4.2393)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787923 #242379
analogous
#794F23 #787923 #4D7923
triadic
#787923 #237879 #792378
tetradic
#787923 #23794F #242379 #79234D
square
#787923 #23794F #242379 #79234D
split-complementary
#787923 #234D79 #4F2379
monochromatic
#1A1A08 #494A15 #787923 #A7A831 #CACB4B

Accessibility & contrast

On white

4.61
#787923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#787923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787923
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787923#FFFFFF#000000##FFFFFF
##7879231.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#817168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787923;
/* rgb */ color: rgb(120, 121, 35);
/* oklch */ color: oklch(55.8% 0.106 110.0);
Tailwind
colors: {
  custom: {
    50: '#a29f64',
    500: '#787923',
    950: '#000000',
  },
}
SCSS
$custom: #787923;
$custom-light: #a29f64;
$custom-dark: #000000;
JSON
{
  "hex": "#787923",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 60.698,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.10626,
    "h": 110
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#787923
secondary
#4D4CAC
accent
#49DE4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787923

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

Preview Lab → · Contrast checker → · Palette generator →

#787923 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva