#AFB130#AFB130

#AFB130 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.145 H 110.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#AFB130
RGBrgb(175, 177, 48)
HSLhsl(61, 57%, 44%)
HSVhsv(61, 73%, 69%)
CMYKcmyk(1.1%, 0%, 72.9%, 30.6%)
CIE-LABlab(70.02, -16.05, 61.58)
CIE-LCHlch(70.02, 63.63, 104.61°)
OKLaboklab(73.6% -0.0505 0.1359)
OKLCHoklch(73.6% 0.145 110.4)
XYZxyz(33.9360, 40.7726, 8.8780)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB130 #3230B1
analogous
#B17330 #AFB130 #6FB130
triadic
#AFB130 #30AFB1 #B130AF
tetradic
#AFB130 #30B173 #3230B1 #B1306F
square
#AFB130 #30B173 #3230B1 #B1306F
split-complementary
#AFB130 #306FB1 #7330B1
monochromatic
#505116 #7F8123 #AFB130 #CDCF4F #DBDC7F

Accessibility & contrast

On white

2.29
#AFB130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#AFB130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB130
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB130#FFFFFF#000000##000000
##AFB1301.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#BBA698
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb130;
/* rgb */ color: rgb(175, 177, 48);
/* oklch */ color: oklch(73.6% 0.145 110.4);
Tailwind
colors: {
  custom: {
    50: '#cac872',
    500: '#afb130',
    950: '#000000',
  },
}
SCSS
$custom: #afb130;
$custom-light: #cac872;
$custom-dark: #000000;
JSON
{
  "hex": "#afb130",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 60.93,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73601,
    "c": 0.14502,
    "h": 110.4
  },
  "luminance": 0.40772
}

Semantic roles & 50–950 ramp

primary
#AFB130
secondary
#7978C5
accent
#47E14A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB130

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

Preview Lab → · Contrast checker → · Palette generator →

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