#AFBD30#AFBD30

#AFBD30 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.158 H 115.2°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#AFBD30
RGBrgb(175, 189, 48)
HSLhsl(66, 59%, 46%)
HSVhsv(66, 75%, 74%)
CMYKcmyk(7.4%, 0%, 74.6%, 25.9%)
CIE-LABlab(73.37, -22.06, 64.75)
CIE-LCHlch(73.37, 68.40, 108.82°)
OKLaboklab(76.28% -0.0672 0.1426)
OKLCHoklch(76.28% 0.158 115.2)
XYZxyz(36.4113, 45.7232, 9.7031)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD30 #3E30BD
analogous
#BD8530 #AFBD30 #69BD30
triadic
#AFBD30 #30AFBD #BD30AF
tetradic
#AFBD30 #30BD85 #3E30BD #BD3069
square
#AFBD30 #30BD85 #3E30BD #BD3069
split-complementary
#AFBD30 #3069BD #8530BD
monochromatic
#555B17 #828C24 #AFBD30 #C8D456 #D8E087

Accessibility & contrast

On white

2.07
#AFBD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#AFBD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD30
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD30#FFFFFF#000000##000000
##AFBD301.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB30F
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#BAB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd30;
/* rgb */ color: rgb(175, 189, 48);
/* oklch */ color: oklch(76.3% 0.158 115.2);
Tailwind
colors: {
  custom: {
    50: '#cad073',
    500: '#afbd30',
    950: '#000000',
  },
}
SCSS
$custom: #afbd30;
$custom-light: #cad073;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd30",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 48
  },
  "hsl": {
    "h": 65.957,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76284,
    "c": 0.15768,
    "h": 115.2
  },
  "luminance": 0.45723
}

Semantic roles & 50–950 ramp

primary
#AFBD30
secondary
#867FCA
accent
#45E355
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD30

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

Preview Lab → · Contrast checker → · Palette generator →

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