#AFB25E#AFB25E

#AFB25E is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.108 H 110.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#AFB25E
RGBrgb(175, 178, 94)
HSLhsl(62, 35%, 53%)
HSVhsv(62, 47%, 70%)
CMYKcmyk(1.7%, 0%, 47.2%, 30.2%)
CIE-LABlab(70.71, -13.25, 42.28)
CIE-LCHlch(70.71, 44.31, 107.40°)
OKLaboklab(74.29% -0.0378 0.1008)
OKLCHoklch(74.29% 0.108 110.6)
XYZxyz(35.6206, 41.7636, 16.7723)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB25E #615EB2
analogous
#B28B5E #AFB25E #85B25E
triadic
#AFB25E #5EAFB2 #B25EAF
tetradic
#AFB25E #5EB28B #615EB2 #B25E85
square
#AFB25E #5EB28B #615EB2 #B25E85
split-complementary
#AFB25E #5E85B2 #8B5EB2
monochromatic
#636530 #8C8F44 #AFB25E #C4C687 #D8DAB1

Accessibility & contrast

On white

2.25
#AFB25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#AFB25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB25E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB25E#FFFFFF#000000##000000
##AFB25E1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC57
Deuteranopia (green-blind)
#BEAE62
Tritanopia (blue-blind)
#B9A99E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb25e;
/* rgb */ color: rgb(175, 178, 94);
/* oklch */ color: oklch(74.3% 0.108 110.6);
Tailwind
colors: {
  custom: {
    50: '#c8c88d',
    500: '#afb25e',
    950: '#000000',
  },
}
SCSS
$custom: #afb25e;
$custom-light: #c8c88d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb25e",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 94
  },
  "hsl": {
    "h": 62.143,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74286,
    "c": 0.10768,
    "h": 110.6
  },
  "luminance": 0.41763
}

Semantic roles & 50–950 ramp

primary
#AFB25E
secondary
#A5A4C8
accent
#5CCB60
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB25E

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

Preview Lab → · Contrast checker → · Palette generator →

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