#AFB030#AFB030

#AFB030 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.144 H 109.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AFB030
RGBrgb(175, 176, 48)
HSLhsl(60, 57%, 44%)
HSVhsv(60, 73%, 69%)
CMYKcmyk(0.6%, 0%, 72.7%, 31%)
CIE-LABlab(69.74, -15.54, 61.31)
CIE-LCHlch(69.74, 63.25, 104.22°)
OKLaboklab(73.38% -0.0491 0.1354)
OKLCHoklch(73.38% 0.144 109.9)
XYZxyz(33.7392, 40.3790, 8.8124)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB030 #3130B0
analogous
#B07130 #AFB030 #6FB030
triadic
#AFB030 #30AFB0 #B030AF
tetradic
#AFB030 #30B071 #3130B0 #B0306F
square
#AFB030 #30B071 #3130B0 #B0306F
split-complementary
#AFB030 #306FB0 #7130B0
monochromatic
#4F5016 #7F8023 #AFB030 #CECF4E #DBDC7E

Accessibility & contrast

On white

2.31
#AFB030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AFB030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB030
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB030#FFFFFF#000000##000000
##AFB0301.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#C0AC3A
Tritanopia (blue-blind)
#BBA597
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afb030;
/* rgb */ color: rgb(175, 176, 48);
/* oklch */ color: oklch(73.4% 0.144 109.9);
Tailwind
colors: {
  custom: {
    50: '#cac772',
    500: '#afb030',
    950: '#000000',
  },
}
SCSS
$custom: #afb030;
$custom-light: #cac772;
$custom-dark: #000000;
JSON
{
  "hex": "#afb030",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 48
  },
  "hsl": {
    "h": 60.469,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73379,
    "c": 0.14401,
    "h": 109.9
  },
  "luminance": 0.40378
}

Semantic roles & 50–950 ramp

primary
#AFB030
secondary
#7877C5
accent
#47E049
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB030

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

Preview Lab → · Contrast checker → · Palette generator →

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