#AFBA3D#AFBA3D

#AFBA3D is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.7% C 0.146 H 114.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#AFBA3D
RGBrgb(175, 186, 61)
HSLhsl(65, 51%, 48%)
HSVhsv(65, 67%, 73%)
CMYKcmyk(5.9%, 0%, 67.2%, 27.1%)
CIE-LABlab(72.61, -19.89, 59.30)
CIE-LCHlch(72.61, 62.54, 108.55°)
OKLaboklab(75.7% -0.06 0.1333)
OKLCHoklch(75.7% 0.146 114.2)
XYZxyz(36.0814, 44.5694, 11.1160)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA3D #483DBA
analogous
#BA863D #AFBA3D #70BA3D
triadic
#AFBA3D #3DAFBA #BA3DAF
tetradic
#AFBA3D #3DBA86 #483DBA #BA3D70
square
#AFBA3D #3DBA86 #483DBA #BA3D70
split-complementary
#AFBA3D #3D70BA #863DBA
monochromatic
#585E1F #848C2E #AFBA3D #C4CD67 #D6DC95

Accessibility & contrast

On white

2.12
#AFBA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#AFBA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA3D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA3D#FFFFFF#000000##000000
##AFBA3D1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12B
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afba3d;
/* rgb */ color: rgb(175, 186, 61);
/* oklch */ color: oklch(75.7% 0.146 114.2);
Tailwind
colors: {
  custom: {
    50: '#cace7a',
    500: '#afba3d',
    950: '#000000',
  },
}
SCSS
$custom: #afba3d;
$custom-light: #cace7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afba3d",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 65.28,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75702,
    "c": 0.14621,
    "h": 114.2
  },
  "luminance": 0.44569
}

Semantic roles & 50–950 ramp

primary
#AFBA3D
secondary
#908BC8
accent
#4EDA5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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