#AFB73E#AFB73E

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

Color values

HEX#AFB73E
RGBrgb(175, 183, 62)
HSLhsl(64, 49%, 48%)
HSVhsv(64, 66%, 72%)
CMYKcmyk(4.4%, 0%, 66.1%, 28.2%)
CIE-LABlab(71.78, -18.33, 58.05)
CIE-LCHlch(71.78, 60.88, 107.52°)
OKLaboklab(75.04% -0.0555 0.1309)
OKLCHoklch(75.04% 0.142 113)
XYZxyz(35.4832, 43.3295, 11.0507)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB73E #463EB7
analogous
#B7823E #AFB73E #72B73E
triadic
#AFB73E #3EAFB7 #B73EAF
tetradic
#AFB73E #3EB782 #463EB7 #B73E72
square
#AFB73E #3EB782 #463EB7 #B73E72
split-complementary
#AFB73E #3E72B7 #823EB7
monochromatic
#585C1F #83892F #AFB73E #C5CB67 #D6DB94

Accessibility & contrast

On white

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

On black

9.67
#AFB73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB73E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB73E#FFFFFF#000000##000000
##AFB73E1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb73e;
/* rgb */ color: rgb(175, 183, 62);
/* oklch */ color: oklch(75.0% 0.142 113.0);
Tailwind
colors: {
  custom: {
    50: '#cacc7a',
    500: '#afb73e',
    950: '#000000',
  },
}
SCSS
$custom: #afb73e;
$custom-light: #cacc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb73e",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 63.967,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7504,
    "c": 0.14215,
    "h": 113
  },
  "luminance": 0.43329
}

Semantic roles & 50–950 ramp

primary
#AFB73E
secondary
#8E8AC6
accent
#4FD958
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB73E

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

Preview Lab → · Contrast checker → · Palette generator →

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