#AFB73D#AFB73D

#AFB73D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.0% C 0.143 H 113.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#AFB73D
RGBrgb(175, 183, 61)
HSLhsl(64, 50%, 48%)
HSVhsv(64, 67%, 72%)
CMYKcmyk(4.4%, 0%, 66.7%, 28.2%)
CIE-LABlab(71.77, -18.39, 58.44)
CIE-LCHlch(71.77, 61.27, 107.47°)
OKLaboklab(75.03% -0.0558 0.1315)
OKLCHoklch(75.03% 0.143 113)
XYZxyz(35.4560, 43.3186, 10.9075)
Luminance0.4332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB73D #453DB7
analogous
#B7823D #AFB73D #72B73D
triadic
#AFB73D #3DAFB7 #B73DAF
tetradic
#AFB73D #3DB782 #453DB7 #B73D72
square
#AFB73D #3DB782 #453DB7 #B73D72
split-complementary
#AFB73D #3D72B7 #823DB7
monochromatic
#575B1E #83892E #AFB73D #C5CC65 #D6DB93

Accessibility & contrast

On white

2.17
#AFB73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#AFB73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB73D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB73D#FFFFFF#000000##000000
##AFB73D1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2B
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#BAAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb73d;
/* rgb */ color: rgb(175, 183, 61);
/* oklch */ color: oklch(75.0% 0.143 113.0);
Tailwind
colors: {
  custom: {
    50: '#cacc79',
    500: '#afb73d',
    950: '#000000',
  },
}
SCSS
$custom: #afb73d;
$custom-light: #cacc79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb73d",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 63.934,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75032,
    "c": 0.14288,
    "h": 113
  },
  "luminance": 0.43318
}

Semantic roles & 50–950 ramp

primary
#AFB73D
secondary
#8D89C6
accent
#4EDA57
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB73D

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

Preview Lab → · Contrast checker → · Palette generator →

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