#AF9433#AF9433

#AF9433 is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.3% C 0.118 H 93.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AF9433
RGBrgb(175, 148, 51)
HSLhsl(47, 55%, 44%)
HSVhsv(47, 71%, 69%)
CMYKcmyk(0%, 15.4%, 70.9%, 31.4%)
CIE-LABlab(62.11, -0.60, 52.68)
CIE-LCHlch(62.11, 52.68, 90.65°)
OKLaboklab(67.33% -0.0065 0.1177)
OKLCHoklch(67.33% 0.118 93.2)
XYZxyz(28.8681, 30.5344, 7.5045)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9433 #334EAF
analogous
#AF5633 #AF9433 #8CAF33
triadic
#AF9433 #33AF94 #9433AF
tetradic
#AF9433 #33AF56 #334EAF #AF338C
square
#AF9433 #33AF56 #334EAF #AF338C
split-complementary
#AF9433 #338CAF #5633AF
monochromatic
#504417 #806C25 #AF9433 #CDB252 #DBC782

Accessibility & contrast

On white

2.95
#AF9433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AF9433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9433
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9433#FFFFFF#000000##000000
##AF94331.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49125
Deuteranopia (green-blind)
#AB9938
Tritanopia (blue-blind)
#BD8880
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9433;
/* rgb */ color: rgb(175, 148, 51);
/* oklch */ color: oklch(67.3% 0.118 93.2);
Tailwind
colors: {
  custom: {
    50: '#cab370',
    500: '#af9433',
    950: '#000000',
  },
}
SCSS
$custom: #af9433;
$custom-light: #cab370;
$custom-dark: #000000;
JSON
{
  "hex": "#af9433",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 51
  },
  "hsl": {
    "h": 46.935,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67325,
    "c": 0.11784,
    "h": 93.2
  },
  "luminance": 0.30533
}

Semantic roles & 50–950 ramp

primary
#AF9433
secondary
#7A8AC4
accent
#6ADE4A
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9433

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

Preview Lab → · Contrast checker → · Palette generator →

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