#AFB93F#AFB93F

#AFB93F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.144 H 113.8°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#AFB93F
RGBrgb(175, 185, 63)
HSLhsl(65, 49%, 49%)
HSVhsv(65, 66%, 73%)
CMYKcmyk(5.4%, 0%, 65.9%, 27.5%)
CIE-LABlab(72.34, -19.27, 58.23)
CIE-LCHlch(72.34, 61.34, 108.31°)
OKLaboklab(75.49% -0.0581 0.1314)
OKLCHoklch(75.49% 0.144 113.8)
XYZxyz(35.9263, 44.1714, 11.3351)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB93F #493FB9
analogous
#B9863F #AFB93F #72B93F
triadic
#AFB93F #3FAFB9 #B93FAF
tetradic
#AFB93F #3FB986 #493FB9 #B93F72
square
#AFB93F #3FB986 #493FB9 #B93F72
split-complementary
#AFB93F #3F72B9 #863FB9
monochromatic
#595E20 #848B2F #AFB93F #C4CC69 #D6DC97

Accessibility & contrast

On white

2.14
#AFB93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#AFB93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB93F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB93F#FFFFFF#000000##000000
##AFB93F1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb93f;
/* rgb */ color: rgb(175, 185, 63);
/* oklch */ color: oklch(75.5% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#cacd7b',
    500: '#afb93f',
    950: '#000000',
  },
}
SCSS
$custom: #afb93f;
$custom-light: #cacd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb93f",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 64.918,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75494,
    "c": 0.14366,
    "h": 113.8
  },
  "luminance": 0.44171
}

Semantic roles & 50–950 ramp

primary
#AFB93F
secondary
#918DC7
accent
#4FD95A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB93F

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

Preview Lab → · Contrast checker → · Palette generator →

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