#CFA934#CFA934

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

Color values

HEX#CFA934
RGBrgb(207, 169, 52)
HSLhsl(45, 62%, 51%)
HSVhsv(45, 75%, 81%)
CMYKcmyk(0%, 18.4%, 74.9%, 18.8%)
CIE-LABlab(70.80, 2.26, 61.89)
CIE-LCHlch(70.80, 61.93, 87.91°)
OKLaboklab(74.91% -0.0001 0.1361)
OKLCHoklch(74.91% 0.136 90)
XYZxyz(40.5423, 41.8918, 9.1987)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA934 #345ACF
analogous
#CF5B34 #CFA934 #A8CF34
triadic
#CFA934 #34CFA9 #A934CF
tetradic
#CFA934 #34CF5B #345ACF #CF34A8
square
#CFA934 #34CF5B #345ACF #CF34A8
split-complementary
#CFA934 #34A8CF #5B34CF
monochromatic
#6E5A1A #A08226 #CFA934 #DBBE65 #E6D397

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFA934#FFFFFF#000000##000000
##CFA9341.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)
#BCA720
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#E09A92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa934;
/* rgb */ color: rgb(207, 169, 52);
/* oklch */ color: oklch(74.9% 0.136 90.0);
Tailwind
colors: {
  custom: {
    50: '#e2c274',
    500: '#cfa934',
    950: '#000000',
  },
}
SCSS
$custom: #cfa934;
$custom-light: #e2c274;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa934",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 45.29,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74914,
    "c": 0.1361,
    "h": 90
  },
  "luminance": 0.41889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFA934

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

Preview Lab → · Contrast checker → · Palette generator →

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