#AFB63D#AFB63D

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

Color values

HEX#AFB63D
RGBrgb(175, 182, 61)
HSLhsl(63, 50%, 48%)
HSVhsv(63, 66%, 71%)
CMYKcmyk(3.8%, 0%, 66.5%, 28.6%)
CIE-LABlab(71.49, -17.89, 58.16)
CIE-LCHlch(71.49, 60.85, 107.10°)
OKLaboklab(74.81% -0.0544 0.1309)
OKLCHoklch(74.81% 0.142 112.6)
XYZxyz(35.2505, 42.9076, 10.8390)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB63D #443DB6
analogous
#B6803D #AFB63D #73B63D
triadic
#AFB63D #3DAFB6 #B63DAF
tetradic
#AFB63D #3DB680 #443DB6 #B63D73
square
#AFB63D #3DB680 #443DB6 #B63D73
split-complementary
#AFB63D #3D73B6 #803DB6
monochromatic
#575A1E #83882E #AFB63D #C5CB65 #D7DB93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB63D#FFFFFF#000000##000000
##AFB63D1.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)
#C3AE2C
Deuteranopia (green-blind)
#C4B045
Tritanopia (blue-blind)
#BBAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb63d;
/* rgb */ color: rgb(175, 182, 61);
/* oklch */ color: oklch(74.8% 0.142 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb79',
    500: '#afb63d',
    950: '#000000',
  },
}
SCSS
$custom: #afb63d;
$custom-light: #cacb79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb63d",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 61
  },
  "hsl": {
    "h": 63.471,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74809,
    "c": 0.14178,
    "h": 112.6
  },
  "luminance": 0.42907
}

Semantic roles & 50–950 ramp

primary
#AFB63D
secondary
#8C89C6
accent
#4ED957
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB63D

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

Preview Lab → · Contrast checker → · Palette generator →

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