#AFA130#AFA130

#AFA130 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.130 H 102.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#AFA130
RGBrgb(175, 161, 48)
HSLhsl(53, 57%, 44%)
HSVhsv(53, 73%, 69%)
CMYKcmyk(0%, 8%, 72.6%, 31.4%)
CIE-LABlab(65.61, -7.73, 57.34)
CIE-LCHlch(65.61, 57.85, 97.68°)
OKLaboklab(70.09% -0.0271 0.127)
OKLCHoklch(70.09% 0.13 102.1)
XYZxyz(30.9589, 34.8184, 7.8856)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA130 #303EAF
analogous
#AF6130 #AFA130 #7DAF30
triadic
#AFA130 #30AFA1 #A130AF
tetradic
#AFA130 #30AF61 #303EAF #AF307D
square
#AFA130 #30AF61 #303EAF #AF307D
split-complementary
#AFA130 #307DAF #6130AF
monochromatic
#4F4916 #7F7523 #AFA130 #CEC04E #DCD17E

Accessibility & contrast

On white

2.64
#AFA130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#AFA130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA130
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA130#FFFFFF#000000##000000
##AFA1301.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#BC958B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa130;
/* rgb */ color: rgb(175, 161, 48);
/* oklch */ color: oklch(70.1% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#cabc70',
    500: '#afa130',
    950: '#000000',
  },
}
SCSS
$custom: #afa130;
$custom-light: #cabc70;
$custom-dark: #000000;
JSON
{
  "hex": "#afa130",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 53.386,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70087,
    "c": 0.12983,
    "h": 102.1
  },
  "luminance": 0.34817
}

Semantic roles & 50–950 ramp

primary
#AFA130
secondary
#767FC4
accent
#58E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AFA130

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

Preview Lab → · Contrast checker → · Palette generator →

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