#CFAD37#CFAD37

#CFAD37 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.137 H 92.3°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CFAD37
RGBrgb(207, 173, 55)
HSLhsl(47, 61%, 51%)
HSVhsv(47, 73%, 81%)
CMYKcmyk(0%, 16.4%, 73.4%, 18.8%)
CIE-LABlab(71.85, 0.27, 61.78)
CIE-LCHlch(71.85, 61.78, 89.75°)
OKLaboklab(75.75% -0.0055 0.1364)
OKLCHoklch(75.75% 0.137 92.3)
XYZxyz(41.3676, 43.4308, 9.8178)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAD37 #3759CF
analogous
#CF6137 #CFAD37 #A5CF37
triadic
#CFAD37 #37CFAD #AD37CF
tetradic
#CFAD37 #37CF61 #3759CF #CF37A5
square
#CFAD37 #37CF61 #3759CF #CF37A5
split-complementary
#CFAD37 #37A5CF #6137CF
monochromatic
#715D1B #A28627 #CFAD37 #DBC168 #E7D59A

Accessibility & contrast

On white

2.17
#CFAD37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CFAD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAD37
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAD37#FFFFFF#000000##000000
##CFAD371.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#E09F96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cfad37;
/* rgb */ color: rgb(207, 173, 55);
/* oklch */ color: oklch(75.7% 0.137 92.3);
Tailwind
colors: {
  custom: {
    50: '#e2c576',
    500: '#cfad37',
    950: '#000000',
  },
}
SCSS
$custom: #cfad37;
$custom-light: #e2c576;
$custom-dark: #000000;
JSON
{
  "hex": "#cfad37",
  "rgb": {
    "r": 207,
    "g": 173,
    "b": 55
  },
  "hsl": {
    "h": 46.579,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.13655,
    "h": 92.3
  },
  "luminance": 0.43428
}

Semantic roles & 50–950 ramp

primary
#CFAD37
secondary
#8F9ED2
accent
#67E443
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAD37

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

Preview Lab → · Contrast checker → · Palette generator →

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