#AF9630#AF9630

#AF9630 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.121 H 94.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AF9630
RGBrgb(175, 150, 48)
HSLhsl(48, 57%, 44%)
HSVhsv(48, 73%, 69%)
CMYKcmyk(0%, 14.3%, 72.6%, 31.4%)
CIE-LABlab(62.63, -1.84, 54.42)
CIE-LCHlch(62.63, 54.45, 91.93°)
OKLaboklab(67.73% -0.0104 0.1208)
OKLCHoklch(67.73% 0.121 94.9)
XYZxyz(29.1205, 31.1416, 7.2728)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9630 #3049AF
analogous
#AF5630 #AF9630 #88AF30
triadic
#AF9630 #30AF96 #9630AF
tetradic
#AF9630 #30AF56 #3049AF #AF3088
square
#AF9630 #30AF56 #3049AF #AF3088
split-complementary
#AF9630 #3088AF #5630AF
monochromatic
#4F4416 #7F6D23 #AF9630 #CEB54E #DCC97E

Accessibility & contrast

On white

2.91
#AF9630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AF9630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9630
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9630#FFFFFF#000000##000000
##AF96301.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69320
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#BD8A82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9630;
/* rgb */ color: rgb(175, 150, 48);
/* oklch */ color: oklch(67.7% 0.121 94.9);
Tailwind
colors: {
  custom: {
    50: '#cbb46f',
    500: '#af9630',
    950: '#000000',
  },
}
SCSS
$custom: #af9630;
$custom-light: #cbb46f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9630",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 48
  },
  "hsl": {
    "h": 48.189,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.12123,
    "h": 94.9
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#AF9630
secondary
#7686C4
accent
#66E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9630

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

Preview Lab → · Contrast checker → · Palette generator →

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