#AF9233#AF9233

#AF9233 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.9% C 0.117 H 91.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AF9233
RGBrgb(175, 146, 51)
HSLhsl(46, 55%, 44%)
HSVhsv(46, 71%, 69%)
CMYKcmyk(0%, 16.6%, 70.9%, 31.4%)
CIE-LABlab(61.58, 0.49, 52.13)
CIE-LCHlch(61.58, 52.14, 89.46°)
OKLaboklab(66.9% -0.0034 0.1165)
OKLCHoklch(66.9% 0.117 91.7)
XYZxyz(28.5571, 29.9124, 7.4009)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9233 #3350AF
analogous
#AF5433 #AF9233 #8EAF33
triadic
#AF9233 #33AF92 #9233AF
tetradic
#AF9233 #33AF54 #3350AF #AF338E
square
#AF9233 #33AF54 #3350AF #AF338E
split-complementary
#AF9233 #338EAF #5433AF
monochromatic
#504317 #806A25 #AF9233 #CDB052 #DBC682

Accessibility & contrast

On white

3.01
#AF9233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AF9233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9233
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9233#FFFFFF#000000##000000
##AF92331.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29026
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#BD867F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9233;
/* rgb */ color: rgb(175, 146, 51);
/* oklch */ color: oklch(66.9% 0.117 91.7);
Tailwind
colors: {
  custom: {
    50: '#cbb170',
    500: '#af9233',
    950: '#000000',
  },
}
SCSS
$custom: #af9233;
$custom-light: #cbb170;
$custom-dark: #000000;
JSON
{
  "hex": "#af9233",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 51
  },
  "hsl": {
    "h": 45.968,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66904,
    "c": 0.11656,
    "h": 91.7
  },
  "luminance": 0.29911
}

Semantic roles & 50–950 ramp

primary
#AF9233
secondary
#7A8BC4
accent
#6CDE4A
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9233

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

Preview Lab → · Contrast checker → · Palette generator →

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