#AFB63A#AFB63A

#AFB63A is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.144 H 112.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#AFB63A
RGBrgb(175, 182, 58)
HSLhsl(63, 52%, 47%)
HSVhsv(63, 68%, 71%)
CMYKcmyk(3.8%, 0%, 68.1%, 28.6%)
CIE-LABlab(71.47, -18.06, 59.31)
CIE-LCHlch(71.47, 62.00, 106.94°)
OKLaboklab(74.79% -0.0552 0.1329)
OKLCHoklch(74.79% 0.144 112.6)
XYZxyz(35.1719, 42.8761, 10.4253)
Luminance0.4288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB63A #413AB6
analogous
#B67F3A #AFB63A #71B63A
triadic
#AFB63A #3AAFB6 #B63AAF
tetradic
#AFB63A #3AB67F #413AB6 #B63A71
square
#AFB63A #3AB67F #413AB6 #B63A71
split-complementary
#AFB63A #3A71B6 #7F3AB6
monochromatic
#56591C #82882B #AFB63A #C6CD61 #D7DB8F

Accessibility & contrast

On white

2.19
#AFB63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#AFB63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB63A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB63A#FFFFFF#000000##000000
##AFB63A1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C4B043
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb63a;
/* rgb */ color: rgb(175, 182, 58);
/* oklch */ color: oklch(74.8% 0.144 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb78',
    500: '#afb63a',
    950: '#000000',
  },
}
SCSS
$custom: #afb63a;
$custom-light: #cacb78;
$custom-dark: #000000;
JSON
{
  "hex": "#afb63a",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 58
  },
  "hsl": {
    "h": 63.387,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74785,
    "c": 0.14388,
    "h": 112.6
  },
  "luminance": 0.42875
}

Semantic roles & 50–950 ramp

primary
#AFB63A
secondary
#8986C6
accent
#4DDB55
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB63A

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

Preview Lab → · Contrast checker → · Palette generator →

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