#FFCD34#FFCD34

#FFCD34 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.9% C 0.165 H 89.1°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#FFCD34
RGBrgb(255, 205, 52)
HSLhsl(45, 100%, 60%)
HSVhsv(45, 80%, 100%)
CMYKcmyk(0%, 19.6%, 79.6%, 0%)
CIE-LABlab(84.57, 4.04, 76.27)
CIE-LCHlch(84.57, 76.38, 86.97°)
OKLaboklab(86.86% 0.0025 0.1646)
OKLCHoklch(86.86% 0.165 89.1)
XYZxyz(63.6951, 65.1749, 12.4733)
Luminance0.6517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCD34 #3466FF
analogous
#FF6834 #FFCD34 #CBFF34
triadic
#FFCD34 #34FFCD #CD34FF
tetradic
#FFCD34 #34FF68 #3466FF #FF34CB
square
#FFCD34 #34FF68 #3466FF #FF34CB
split-complementary
#FFCD34 #34CBFF #6834FF
monochromatic
#B98B00 #F6B900 #FFCD34 #FFDC71 #FFEBAE

Accessibility & contrast

On white

1.50
#FFCD34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#FFCD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCD34
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCD34#FFFFFF#000000##000000
##FFCD341.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB09
Deuteranopia (green-blind)
#F2D93E
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ffcd34;
/* rgb */ color: rgb(255, 205, 52);
/* oklch */ color: oklch(86.9% 0.165 89.1);
Tailwind
colors: {
  custom: {
    50: '#ffdb79',
    500: '#ffcd34',
    950: '#000000',
  },
}
SCSS
$custom: #ffcd34;
$custom-light: #ffdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcd34",
  "rgb": {
    "r": 255,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 45.222,
    "s": 100,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86856,
    "c": 0.16466,
    "h": 89.1
  },
  "luminance": 0.65171
}

Semantic roles & 50–950 ramp

primary
#FFCD34
secondary
#2045B7
accent
#39E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140A
muted
#87837D

Preview Lab

Preview with #FFCD34

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

Preview Lab → · Contrast checker → · Palette generator →

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