#CFA935#CFA935

#CFA935 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.9% C 0.136 H 89.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CFA935
RGBrgb(207, 169, 53)
HSLhsl(45, 62%, 51%)
HSVhsv(45, 74%, 81%)
CMYKcmyk(0%, 18.4%, 74.4%, 18.8%)
CIE-LABlab(70.80, 2.30, 61.52)
CIE-LCHlch(70.80, 61.57, 87.86°)
OKLaboklab(74.92% 0.0001 0.1355)
OKLCHoklch(74.92% 0.136 89.9)
XYZxyz(40.5650, 41.9009, 9.3186)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA935 #355BCF
analogous
#CF5C35 #CFA935 #A8CF35
triadic
#CFA935 #35CFA9 #A935CF
tetradic
#CFA935 #35CF5C #355BCF #CF35A8
square
#CFA935 #35CF5C #355BCF #CF35A8
split-complementary
#CFA935 #35A8CF #5C35CF
monochromatic
#6F5A1A #A18226 #CFA935 #DBBE66 #E7D398

Accessibility & contrast

On white

2.24
#CFA935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CFA935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA935
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA935#FFFFFF#000000##000000
##CFA9351.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA722
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#E09B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa935;
/* rgb */ color: rgb(207, 169, 53);
/* oklch */ color: oklch(74.9% 0.136 89.9);
Tailwind
colors: {
  custom: {
    50: '#e2c274',
    500: '#cfa935',
    950: '#000000',
  },
}
SCSS
$custom: #cfa935;
$custom-light: #e2c274;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa935",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 45.195,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74921,
    "c": 0.13551,
    "h": 89.9
  },
  "luminance": 0.41898
}

Semantic roles & 50–950 ramp

primary
#CFA935
secondary
#8E9FD2
accent
#6BE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA935

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

Preview Lab → · Contrast checker → · Palette generator →

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