#AF9134#AF9134

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

Color values

HEX#AF9134
RGBrgb(175, 145, 52)
HSLhsl(45, 54%, 45%)
HSVhsv(45, 70%, 69%)
CMYKcmyk(0%, 17.1%, 70.3%, 31.4%)
CIE-LABlab(61.32, 1.10, 51.45)
CIE-LCHlch(61.32, 51.46, 88.78°)
OKLaboklab(66.7% -0.0015 0.1152)
OKLCHoklch(66.7% 0.115 90.8)
XYZxyz(28.4260, 29.6144, 7.4671)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9134 #3452AF
analogous
#AF5434 #AF9134 #90AF34
triadic
#AF9134 #34AF91 #9134AF
tetradic
#AF9134 #34AF54 #3452AF #AF3490
square
#AF9134 #34AF54 #3452AF #AF3490
split-complementary
#AF9134 #3490AF #5434AF
monochromatic
#514318 #806A26 #AF9134 #CCAF54 #DAC583

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9134#FFFFFF#000000##000000
##AF91341.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)
#A18F28
Deuteranopia (green-blind)
#A89839
Tritanopia (blue-blind)
#BD857E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9134;
/* rgb */ color: rgb(175, 145, 52);
/* oklch */ color: oklch(66.7% 0.115 90.8);
Tailwind
colors: {
  custom: {
    50: '#cab071',
    500: '#af9134',
    950: '#000000',
  },
}
SCSS
$custom: #af9134;
$custom-light: #cab071;
$custom-dark: #000000;
JSON
{
  "hex": "#af9134",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 52
  },
  "hsl": {
    "h": 45.366,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66702,
    "c": 0.11525,
    "h": 90.8
  },
  "luminance": 0.29613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9134

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

Preview Lab → · Contrast checker → · Palette generator →

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