#FFDA38#FFDA38

#FFDA38 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.170 H 95.3°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#FFDA38
RGBrgb(255, 218, 56)
HSLhsl(49, 100%, 61%)
HSVhsv(49, 78%, 100%)
CMYKcmyk(0%, 14.5%, 78%, 0%)
CIE-LABlab(87.82, -2.45, 77.94)
CIE-LCHlch(87.82, 77.98, 91.80°)
OKLaboklab(89.43% -0.0156 0.1691)
OKLCHoklch(89.43% 0.17 95.3)
XYZxyz(67.0289, 71.6922, 14.0481)
Luminance0.7169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDA38 #385DFF
analogous
#FF7638 #FFDA38 #C1FF38
triadic
#FFDA38 #38FFDA #DA38FF
tetradic
#FFDA38 #38FF76 #385DFF #FF38C1
square
#FFDA38 #38FF76 #385DFF #FF38C1
split-complementary
#FFDA38 #38C1FF #7638FF
monochromatic
#BD9A00 #FACB00 #FFDA38 #FFE575 #FFF1B2

Accessibility & contrast

On white

1.37
#FFDA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#FFDA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDA38
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDA38#FFFFFF#000000##000000
##FFDA381.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D60D
Deuteranopia (green-blind)
#FBE143
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffda38;
/* rgb */ color: rgb(255, 218, 56);
/* oklch */ color: oklch(89.4% 0.170 95.3);
Tailwind
colors: {
  custom: {
    50: '#ffe57c',
    500: '#ffda38',
    950: '#000000',
  },
}
SCSS
$custom: #ffda38;
$custom-light: #ffe57c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffda38",
  "rgb": {
    "r": 255,
    "g": 218,
    "b": 56
  },
  "hsl": {
    "h": 48.844,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89425,
    "c": 0.16977,
    "h": 95.3
  },
  "luminance": 0.71688
}

Semantic roles & 50–950 ramp

primary
#FFDA38
secondary
#213DBA
accent
#2BE600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFDA38

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

Preview Lab → · Contrast checker → · Palette generator →

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