#CFB440#CFB440

#CFB440 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.135 H 95.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CFB440
RGBrgb(207, 180, 64)
HSLhsl(49, 60%, 53%)
HSVhsv(49, 69%, 81%)
CMYKcmyk(0%, 13%, 69.1%, 18.8%)
CIE-LABlab(73.73, -2.97, 60.11)
CIE-LCHlch(73.73, 60.19, 92.83°)
OKLaboklab(77.26% -0.0137 0.1346)
OKLCHoklch(77.26% 0.135 95.8)
XYZxyz(42.9809, 46.2803, 11.5186)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB440 #405BCF
analogous
#CF6C40 #CFB440 #A3CF40
triadic
#CFB440 #40CFB4 #B440CF
tetradic
#CFB440 #40CF6C #405BCF #CF40A3
square
#CFB440 #40CF6C #405BCF #CF40A3
split-complementary
#CFB440 #40A3CF #6C40CF
monochromatic
#77661E #A8902A #CFB440 #DBC771 #E8DAA2

Accessibility & contrast

On white

2.05
#CFB440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CFB440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB440
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB440#FFFFFF#000000##000000
##CFB4401.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#CDB946
Tritanopia (blue-blind)
#DFA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb440;
/* rgb */ color: rgb(207, 180, 64);
/* oklch */ color: oklch(77.3% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#e1ca7b',
    500: '#cfb440',
    950: '#000000',
  },
}
SCSS
$custom: #cfb440;
$custom-light: #e1ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb440",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 48.671,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77255,
    "c": 0.13527,
    "h": 95.8
  },
  "luminance": 0.46278
}

Semantic roles & 50–950 ramp

primary
#CFB440
secondary
#97A2D4
accent
#63E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB440

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

Preview Lab → · Contrast checker → · Palette generator →

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