#CFB241#CFB241

#CFB241 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.133 H 94.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CFB241
RGBrgb(207, 178, 65)
HSLhsl(48, 60%, 53%)
HSVhsv(48, 69%, 81%)
CMYKcmyk(0%, 14%, 68.6%, 18.8%)
CIE-LABlab(73.21, -1.87, 59.18)
CIE-LCHlch(73.21, 59.21, 91.81°)
OKLaboklab(76.85% -0.0105 0.1328)
OKLCHoklch(76.85% 0.133 94.5)
XYZxyz(42.6088, 45.4901, 11.5362)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB241 #415ECF
analogous
#CF6B41 #CFB241 #A5CF41
triadic
#CFB241 #41CFB2 #B241CF
tetradic
#CFB241 #41CF6B #415ECF #CF41A5
square
#CFB241 #41CF6B #415ECF #CF41A5
split-complementary
#CFB241 #41A5CF #6B41CF
monochromatic
#77651E #A88F2B #CFB241 #DBC672 #E8DAA3

Accessibility & contrast

On white

2.08
#CFB241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CFB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB241
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB241#FFFFFF#000000##000000
##CFB2411.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF32
Deuteranopia (green-blind)
#CBB847
Tritanopia (blue-blind)
#DFA49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb241;
/* rgb */ color: rgb(207, 178, 65);
/* oklch */ color: oklch(76.9% 0.133 94.5);
Tailwind
colors: {
  custom: {
    50: '#e1c87c',
    500: '#cfb241',
    950: '#000000',
  },
}
SCSS
$custom: #cfb241;
$custom-light: #e1c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb241",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 47.746,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76851,
    "c": 0.13318,
    "h": 94.5
  },
  "luminance": 0.45488
}

Semantic roles & 50–950 ramp

primary
#CFB241
secondary
#97A4D4
accent
#65E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB241

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

Preview Lab → · Contrast checker → · Palette generator →

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