#FFD138#FFD138

#FFD138 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.7% C 0.165 H 90.9°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#FFD138
RGBrgb(255, 209, 56)
HSLhsl(46, 100%, 61%)
HSVhsv(46, 78%, 100%)
CMYKcmyk(0%, 18%, 78%, 0%)
CIE-LABlab(85.58, 2.12, 75.93)
CIE-LCHlch(85.58, 75.96, 88.40°)
OKLaboklab(87.66% -0.0026 0.1647)
OKLCHoklch(87.66% 0.165 90.9)
XYZxyz(64.7581, 67.1506, 13.2911)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD138 #3866FF
analogous
#FF6D38 #FFD138 #C9FF38
triadic
#FFD138 #38FFD1 #D138FF
tetradic
#FFD138 #38FF6D #3866FF #FF38C9
square
#FFD138 #38FF6D #3866FF #FF38C9
split-complementary
#FFD138 #38C9FF #6D38FF
monochromatic
#BD9100 #FAC000 #FFD138 #FFDF75 #FFEDB2

Accessibility & contrast

On white

1.46
#FFD138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#FFD138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD138
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD138#FFFFFF#000000##000000
##FFD1381.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE14
Deuteranopia (green-blind)
#F4DB42
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ffd138;
/* rgb */ color: rgb(255, 209, 56);
/* oklch */ color: oklch(87.7% 0.165 90.9);
Tailwind
colors: {
  custom: {
    50: '#ffde7b',
    500: '#ffd138',
    950: '#000000',
  },
}
SCSS
$custom: #ffd138;
$custom-light: #ffde7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd138",
  "rgb": {
    "r": 255,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 46.131,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87655,
    "c": 0.16473,
    "h": 90.9
  },
  "luminance": 0.67146
}

Semantic roles & 50–950 ramp

primary
#FFD138
secondary
#2144BA
accent
#35E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFD138

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

Preview Lab → · Contrast checker → · Palette generator →

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