#AFB63E#AFB63E

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

Color values

HEX#AFB63E
RGBrgb(175, 182, 62)
HSLhsl(64, 49%, 48%)
HSVhsv(64, 66%, 71%)
CMYKcmyk(3.8%, 0%, 65.9%, 28.6%)
CIE-LABlab(71.50, -17.83, 57.76)
CIE-LCHlch(71.50, 60.45, 107.15°)
OKLaboklab(74.82% -0.0541 0.1303)
OKLCHoklch(74.82% 0.141 112.6)
XYZxyz(35.2776, 42.9184, 10.9822)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB63E #453EB6
analogous
#B6813E #AFB63E #73B63E
triadic
#AFB63E #3EAFB6 #B63EAF
tetradic
#AFB63E #3EB681 #453EB6 #B63E73
square
#AFB63E #3EB681 #453EB6 #B63E73
split-complementary
#AFB63E #3E73B6 #813EB6
monochromatic
#575B1F #83882E #AFB63E #C5CB66 #D6DB94

Accessibility & contrast

On white

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

On black

9.58
#AFB63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB63E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB63E#FFFFFF#000000##000000
##AFB63E1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE2D
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#BAAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb63e;
/* rgb */ color: rgb(175, 182, 62);
/* oklch */ color: oklch(74.8% 0.141 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb7a',
    500: '#afb63e',
    950: '#000000',
  },
}
SCSS
$custom: #afb63e;
$custom-light: #cacb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb63e",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 62
  },
  "hsl": {
    "h": 63.5,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74817,
    "c": 0.14105,
    "h": 112.6
  },
  "luminance": 0.42918
}

Semantic roles & 50–950 ramp

primary
#AFB63E
secondary
#8D8AC6
accent
#4FD957
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB63E

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

Preview Lab → · Contrast checker → · Palette generator →

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