#CFB740#CFB740

#CFB740 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.137 H 97.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CFB740
RGBrgb(207, 183, 64)
HSLhsl(50, 60%, 53%)
HSVhsv(50, 69%, 81%)
CMYKcmyk(0%, 11.6%, 69.1%, 18.8%)
CIE-LABlab(74.51, -4.54, 60.91)
CIE-LCHlch(74.51, 61.08, 94.26°)
OKLaboklab(77.88% -0.0182 0.1363)
OKLCHoklch(77.88% 0.137 97.6)
XYZxyz(43.5931, 47.5047, 11.7226)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB740 #4058CF
analogous
#CF6F40 #CFB740 #9FCF40
triadic
#CFB740 #40CFB7 #B740CF
tetradic
#CFB740 #40CF6F #4058CF #CF409F
square
#CFB740 #40CF6F #4058CF #CF409F
split-complementary
#CFB740 #409FCF #6F40CF
monochromatic
#77681E #A8932A #CFB740 #DBC971 #E8DCA2

Accessibility & contrast

On white

2.00
#CFB740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CFB740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB740
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB740#FFFFFF#000000##000000
##CFB7401.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#DFAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb740;
/* rgb */ color: rgb(207, 183, 64);
/* oklch */ color: oklch(77.9% 0.137 97.6);
Tailwind
colors: {
  custom: {
    50: '#e1cc7b',
    500: '#cfb740',
    950: '#000000',
  },
}
SCSS
$custom: #cfb740;
$custom-light: #e1cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb740",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 49.93,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77876,
    "c": 0.13747,
    "h": 97.6
  },
  "luminance": 0.47503
}

Semantic roles & 50–950 ramp

primary
#CFB740
secondary
#97A1D4
accent
#5FE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB740

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

Preview Lab → · Contrast checker → · Palette generator →

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