#AF9133#AF9133

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

Color values

HEX#AF9133
RGBrgb(175, 145, 51)
HSLhsl(45, 55%, 44%)
HSVhsv(45, 71%, 69%)
CMYKcmyk(0%, 17.1%, 70.9%, 31.4%)
CIE-LABlab(61.31, 1.04, 51.86)
CIE-LCHlch(61.31, 51.87, 88.85°)
OKLaboklab(66.69% -0.0018 0.1159)
OKLCHoklch(66.69% 0.116 90.9)
XYZxyz(28.4037, 29.6055, 7.3497)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9133 #3351AF
analogous
#AF5333 #AF9133 #8FAF33
triadic
#AF9133 #33AF91 #9133AF
tetradic
#AF9133 #33AF53 #3351AF #AF338F
square
#AF9133 #33AF53 #3351AF #AF338F
split-complementary
#AF9133 #338FAF #5333AF
monochromatic
#504217 #806A25 #AF9133 #CDAF52 #DBC582

Accessibility & contrast

On white

3.03
#AF9133 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9133#FFFFFF#000000##000000
##AF91331.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F26
Deuteranopia (green-blind)
#A89838
Tritanopia (blue-blind)
#BD857E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9133;
/* rgb */ color: rgb(175, 145, 51);
/* oklch */ color: oklch(66.7% 0.116 90.9);
Tailwind
colors: {
  custom: {
    50: '#cbb070',
    500: '#af9133',
    950: '#000000',
  },
}
SCSS
$custom: #af9133;
$custom-light: #cbb070;
$custom-dark: #000000;
JSON
{
  "hex": "#af9133",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 51
  },
  "hsl": {
    "h": 45.484,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66694,
    "c": 0.11595,
    "h": 90.9
  },
  "luminance": 0.29604
}

Semantic roles & 50–950 ramp

primary
#AF9133
secondary
#7A8CC4
accent
#6EDE4A
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9133

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

Preview Lab → · Contrast checker → · Palette generator →

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