#CFB541#CFB541

#CFB541 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.135 H 96.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CFB541
RGBrgb(207, 181, 65)
HSLhsl(49, 60%, 53%)
HSVhsv(49, 69%, 81%)
CMYKcmyk(0%, 12.6%, 68.6%, 18.8%)
CIE-LABlab(74.00, -3.44, 59.98)
CIE-LCHlch(74.00, 60.08, 93.29°)
OKLaboklab(77.47% -0.015 0.1345)
OKLCHoklch(77.47% 0.135 96.3)
XYZxyz(43.2122, 46.6970, 11.7373)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB541 #415BCF
analogous
#CF6E41 #CFB541 #A2CF41
triadic
#CFB541 #41CFB5 #B541CF
tetradic
#CFB541 #41CF6E #415BCF #CF41A2
square
#CFB541 #41CF6E #415BCF #CF41A2
split-complementary
#CFB541 #41A2CF #6E41CF
monochromatic
#77671E #A8912B #CFB541 #DBC872 #E8DBA3

Accessibility & contrast

On white

2.03
#CFB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CFB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB541
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB541#FFFFFF#000000##000000
##CFB5411.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#CEB947
Tritanopia (blue-blind)
#DFA79D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb541;
/* rgb */ color: rgb(207, 181, 65);
/* oklch */ color: oklch(77.5% 0.135 96.3);
Tailwind
colors: {
  custom: {
    50: '#e1ca7c',
    500: '#cfb541',
    950: '#000000',
  },
}
SCSS
$custom: #cfb541;
$custom-light: #e1ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb541",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 49.014,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77469,
    "c": 0.13529,
    "h": 96.3
  },
  "luminance": 0.46695
}

Semantic roles & 50–950 ramp

primary
#CFB541
secondary
#97A3D4
accent
#62E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB541

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

Preview Lab → · Contrast checker → · Palette generator →

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