#AF9130#AF9130

#AF9130 is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.7% C 0.118 H 91.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AF9130
RGBrgb(175, 145, 48)
HSLhsl(46, 57%, 44%)
HSVhsv(46, 73%, 69%)
CMYKcmyk(0%, 17.1%, 72.6%, 31.4%)
CIE-LABlab(61.29, 0.89, 53.09)
CIE-LCHlch(61.29, 53.10, 89.04°)
OKLaboklab(66.67% -0.0026 0.118)
OKLCHoklch(66.67% 0.118 91.3)
XYZxyz(28.3397, 29.5799, 7.0125)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9130 #304EAF
analogous
#AF5130 #AF9130 #8DAF30
triadic
#AF9130 #30AF91 #9130AF
tetradic
#AF9130 #30AF51 #304EAF #AF308D
square
#AF9130 #30AF51 #304EAF #AF308D
split-complementary
#AF9130 #308DAF #5130AF
monochromatic
#4F4116 #7F6923 #AF9130 #CEB04E #DCC57E

Accessibility & contrast

On white

3.04
#AF9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AF9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9130
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9130#FFFFFF#000000##000000
##AF91301.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F22
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#BD857D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9130;
/* rgb */ color: rgb(175, 145, 48);
/* oklch */ color: oklch(66.7% 0.118 91.3);
Tailwind
colors: {
  custom: {
    50: '#cbb06e',
    500: '#af9130',
    950: '#000000',
  },
}
SCSS
$custom: #af9130;
$custom-light: #cbb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#af9130",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 45.827,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66669,
    "c": 0.118,
    "h": 91.3
  },
  "luminance": 0.29578
}

Semantic roles & 50–950 ramp

primary
#AF9130
secondary
#7689C4
accent
#6CE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9130

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

Preview Lab → · Contrast checker → · Palette generator →

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