#AF9230#AF9230

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

Color values

HEX#AF9230
RGBrgb(175, 146, 48)
HSLhsl(46, 57%, 44%)
HSVhsv(46, 73%, 69%)
CMYKcmyk(0%, 16.6%, 72.6%, 31.4%)
CIE-LABlab(61.56, 0.34, 53.36)
CIE-LCHlch(61.56, 53.36, 89.64°)
OKLaboklab(66.88% -0.0042 0.1185)
OKLCHoklch(66.88% 0.119 92)
XYZxyz(28.4931, 29.8868, 7.0637)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9230 #304DAF
analogous
#AF5230 #AF9230 #8CAF30
triadic
#AF9230 #30AF92 #9230AF
tetradic
#AF9230 #30AF52 #304DAF #AF308C
square
#AF9230 #30AF52 #304DAF #AF308C
split-complementary
#AF9230 #308CAF #5230AF
monochromatic
#4F4216 #7F6A23 #AF9230 #CEB14E #DCC67E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9230#FFFFFF#000000##000000
##AF92301.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)
#A29021
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#BD867E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9230;
/* rgb */ color: rgb(175, 146, 48);
/* oklch */ color: oklch(66.9% 0.119 92.0);
Tailwind
colors: {
  custom: {
    50: '#cbb16f',
    500: '#af9230',
    950: '#000000',
  },
}
SCSS
$custom: #af9230;
$custom-light: #cbb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9230",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 48
  },
  "hsl": {
    "h": 46.299,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.1186,
    "h": 92
  },
  "luminance": 0.29885
}

Semantic roles & 50–950 ramp

primary
#AF9230
secondary
#7688C4
accent
#6AE048
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9230

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

Preview Lab → · Contrast checker → · Palette generator →

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