#AFB63B#AFB63B

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

Color values

HEX#AFB63B
RGBrgb(175, 182, 59)
HSLhsl(63, 51%, 47%)
HSVhsv(63, 68%, 71%)
CMYKcmyk(3.8%, 0%, 67.6%, 28.6%)
CIE-LABlab(71.48, -18.00, 58.93)
CIE-LCHlch(71.48, 61.62, 106.99°)
OKLaboklab(74.79% -0.0549 0.1322)
OKLCHoklch(74.79% 0.143 112.6)
XYZxyz(35.1976, 42.8864, 10.5606)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB63B #423BB6
analogous
#B6803B #AFB63B #71B63B
triadic
#AFB63B #3BAFB6 #B63BAF
tetradic
#AFB63B #3BB680 #423BB6 #B63B71
square
#AFB63B #3BB680 #423BB6 #B63B71
split-complementary
#AFB63B #3B71B6 #803BB6
monochromatic
#565A1D #83882C #AFB63B #C6CC62 #D7DB90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB63B#FFFFFF#000000##000000
##AFB63B1.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)
#C3AE29
Deuteranopia (green-blind)
#C4B044
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb63b;
/* rgb */ color: rgb(175, 182, 59);
/* oklch */ color: oklch(74.8% 0.143 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb78',
    500: '#afb63b',
    950: '#000000',
  },
}
SCSS
$custom: #afb63b;
$custom-light: #cacb78;
$custom-dark: #000000;
JSON
{
  "hex": "#afb63b",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 59
  },
  "hsl": {
    "h": 63.415,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.14319,
    "h": 112.6
  },
  "luminance": 0.42886
}

Semantic roles & 50–950 ramp

primary
#AFB63B
secondary
#8A87C6
accent
#4DDB55
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB63B

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

Preview Lab → · Contrast checker → · Palette generator →

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