#757D0F#757D0F

#757D0F is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.4% C 0.122 H 114.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#757D0F
RGBrgb(117, 125, 15)
HSLhsl(64, 79%, 27%)
HSVhsv(64, 88%, 49%)
CMYKcmyk(6.4%, 0%, 88%, 51%)
CIE-LABlab(50.08, -16.09, 51.94)
CIE-LCHlch(50.08, 54.37, 107.21°)
OKLaboklab(56.41% -0.0502 0.1116)
OKLCHoklch(56.41% 0.122 114.2)
XYZxyz(14.7564, 18.4839, 3.2423)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D0F #170F7D
analogous
#7D4E0F #757D0F #3E7D0F
triadic
#757D0F #0F757D #7D0F75
tetradic
#757D0F #0F7D4E #170F7D #7D0F3E
square
#757D0F #0F7D4E #170F7D #7D0F3E
split-complementary
#757D0F #0F3E7D #4E0F7D
monochromatic
#1A1B03 #424608 #757D0F #A8B416 #D6E422

Accessibility & contrast

On white

4.47
#757D0F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#757D0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D0F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D0F#FFFFFF#000000##000000
##757D0F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#87781C
Tritanopia (blue-blind)
#7D756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d0f;
/* rgb */ color: rgb(117, 125, 15);
/* oklch */ color: oklch(56.4% 0.122 114.2);
Tailwind
colors: {
  custom: {
    50: '#a0a25b',
    500: '#757d0f',
    950: '#000000',
  },
}
SCSS
$custom: #757d0f;
$custom-light: #a0a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#757d0f",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 15
  },
  "hsl": {
    "h": 64.364,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.12239,
    "h": 114.2
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#757D0F
secondary
#3D34B4
accent
#33F541
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F04
muted
#7F7E79

Preview Lab

Preview with #757D0F

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

Preview Lab → · Contrast checker → · Palette generator →

#757D0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva