#FAF25D#FAF25D

#FAF25D is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.166 H 106.2°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FAF25D
RGBrgb(250, 242, 93)
HSLhsl(57, 94%, 67%)
HSVhsv(57, 63%, 98%)
CMYKcmyk(0%, 3.2%, 62.8%, 2%)
CIE-LABlab(93.72, -14.71, 70.35)
CIE-LCHlch(93.72, 71.87, 101.81°)
OKLaboklab(94.08% -0.0464 0.1595)
OKLCHoklch(94.08% 0.166 106.2)
XYZxyz(73.1548, 84.6210, 22.8338)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF25D #5D65FA
analogous
#FAA45D #FAF25D #B3FA5D
triadic
#FAF25D #5DFAF2 #F25DFA
tetradic
#FAF25D #5DFAA4 #5D65FA #FA5DB3
square
#FAF25D #5DFAA4 #5D65FA #FA5DB3
split-complementary
#FAF25D #5DB3FA #A45DFA
monochromatic
#D6CB07 #F8ED22 #FAF25D #FCF798 #FEFCD4

Accessibility & contrast

On white

1.17
#FAF25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#FAF25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF25D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF25D#FFFFFF#000000##000000
##FAF25D1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94A
Deuteranopia (green-blind)
#FFF066
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf25d;
/* rgb */ color: rgb(250, 242, 93);
/* oklch */ color: oklch(94.1% 0.166 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff691',
    500: '#faf25d',
    950: '#000000',
  },
}
SCSS
$custom: #faf25d;
$custom-light: #fff691;
$custom-dark: #000000;
JSON
{
  "hex": "#faf25d",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 93
  },
  "hsl": {
    "h": 56.943,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94079,
    "c": 0.16613,
    "h": 106.2
  },
  "luminance": 0.84619
}

Semantic roles & 50–950 ramp

primary
#FAF25D
secondary
#2B33D0
accent
#0CE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF25D

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

Preview Lab → · Contrast checker → · Palette generator →

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