#AFB63F#AFB63F

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

Color values

HEX#AFB63F
RGBrgb(175, 182, 63)
HSLhsl(64, 49%, 48%)
HSVhsv(64, 65%, 71%)
CMYKcmyk(3.8%, 0%, 65.4%, 28.6%)
CIE-LABlab(71.51, -17.76, 57.37)
CIE-LCHlch(71.51, 60.05, 107.21°)
OKLaboklab(74.83% -0.0538 0.1296)
OKLCHoklch(74.83% 0.14 112.6)
XYZxyz(35.3053, 42.9295, 11.1281)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB63F #463FB6
analogous
#B6813F #AFB63F #74B63F
triadic
#AFB63F #3FAFB6 #B63FAF
tetradic
#AFB63F #3FB681 #463FB6 #B63F74
square
#AFB63F #3FB681 #463FB6 #B63F74
split-complementary
#AFB63F #3F74B6 #813FB6
monochromatic
#585B20 #83892F #AFB63F #C5CB68 #D6DA95

Accessibility & contrast

On white

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

On black

9.59
#AFB63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB63F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB63F#FFFFFF#000000##000000
##AFB63F1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb63f;
/* rgb */ color: rgb(175, 182, 63);
/* oklch */ color: oklch(74.8% 0.140 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb7a',
    500: '#afb63f',
    950: '#000000',
  },
}
SCSS
$custom: #afb63f;
$custom-light: #cacb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb63f",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 63
  },
  "hsl": {
    "h": 63.529,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74825,
    "c": 0.14031,
    "h": 112.6
  },
  "luminance": 0.42929
}

Semantic roles & 50–950 ramp

primary
#AFB63F
secondary
#8E8BC6
accent
#50D858
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB63F

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

Preview Lab → · Contrast checker → · Palette generator →

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