#CFAA37#CFAA37

#CFAA37 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.135 H 90.4°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CFAA37
RGBrgb(207, 170, 55)
HSLhsl(45, 61%, 51%)
HSVhsv(45, 73%, 81%)
CMYKcmyk(0%, 17.9%, 73.4%, 18.8%)
CIE-LABlab(71.07, 1.86, 61.02)
CIE-LCHlch(71.07, 61.05, 88.25°)
OKLaboklab(75.14% -0.0009 0.1349)
OKLCHoklch(75.14% 0.135 90.4)
XYZxyz(40.7988, 42.2932, 9.6282)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAA37 #375CCF
analogous
#CF5E37 #CFAA37 #A8CF37
triadic
#CFAA37 #37CFAA #AA37CF
tetradic
#CFAA37 #37CF5E #375CCF #CF37A8
square
#CFAA37 #37CF5E #375CCF #CF37A8
split-complementary
#CFAA37 #37A8CF #5E37CF
monochromatic
#715C1B #A28427 #CFAA37 #DBBF68 #E7D49A

Accessibility & contrast

On white

2.22
#CFAA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CFAA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAA37
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAA37#FFFFFF#000000##000000
##CFAA371.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#E09C93
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cfaa37;
/* rgb */ color: rgb(207, 170, 55);
/* oklch */ color: oklch(75.1% 0.135 90.4);
Tailwind
colors: {
  custom: {
    50: '#e2c275',
    500: '#cfaa37',
    950: '#000000',
  },
}
SCSS
$custom: #cfaa37;
$custom-light: #e2c275;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaa37",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 45.395,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75138,
    "c": 0.13485,
    "h": 90.4
  },
  "luminance": 0.42291
}

Semantic roles & 50–950 ramp

primary
#CFAA37
secondary
#8FA0D2
accent
#6BE443
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAA37

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

Preview Lab → · Contrast checker → · Palette generator →

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