#AFB430#AFB430

#AFB430 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.148 H 111.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#AFB430
RGBrgb(175, 180, 48)
HSLhsl(62, 58%, 45%)
HSVhsv(62, 73%, 71%)
CMYKcmyk(2.8%, 0%, 73.3%, 29.4%)
CIE-LABlab(70.85, -17.57, 62.37)
CIE-LCHlch(70.85, 64.80, 105.73°)
OKLaboklab(74.27% -0.0548 0.1376)
OKLCHoklch(74.27% 0.148 111.7)
XYZxyz(34.5351, 41.9707, 9.0777)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB430 #3530B4
analogous
#B47730 #AFB430 #6DB430
triadic
#AFB430 #30AFB4 #B430AF
tetradic
#AFB430 #30B477 #3530B4 #B4306D
square
#AFB430 #30B477 #3530B4 #B4306D
split-complementary
#AFB430 #306DB4 #7730B4
monochromatic
#515316 #808423 #AFB430 #CCD151 #DADD81

Accessibility & contrast

On white

2.24
#AFB430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#AFB430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB430
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB430#FFFFFF#000000##000000
##AFB4301.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC15
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#BBA99B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb430;
/* rgb */ color: rgb(175, 180, 48);
/* oklch */ color: oklch(74.3% 0.148 111.7);
Tailwind
colors: {
  custom: {
    50: '#caca72',
    500: '#afb430',
    950: '#000000',
  },
}
SCSS
$custom: #afb430;
$custom-light: #caca72;
$custom-dark: #000000;
JSON
{
  "hex": "#afb430",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 48
  },
  "hsl": {
    "h": 62.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74268,
    "c": 0.14811,
    "h": 111.7
  },
  "luminance": 0.4197
}

Semantic roles & 50–950 ramp

primary
#AFB430
secondary
#7C79C6
accent
#47E14D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB430

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

Preview Lab → · Contrast checker → · Palette generator →

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